Re: [PATCH 00/10] Connect VFIO to IOMMUFD

2022-10-31 Thread Nicolin Chen
On Tue, Nov 01, 2022 at 11:04:38AM +0800, Yi Liu wrote: > On 2022/11/1 07:24, Jason Gunthorpe wrote: > > On Mon, Oct 31, 2022 at 08:25:39PM +0800, Yi Liu wrote: > > > > There is something wrong with the test suite that it isn't covering > > > > the above, I'm going to look into that today. > > >

[PATCH 2/2] drm/i915/mtl: Enable Idle Messaging for GSC CS

2022-10-31 Thread Badal Nilawar
From: Vinay Belgaumkar By defaut idle mesaging is disabled for GSC CS so to unblock RC6 entry on media tile idle messaging need to be enabled. Bspec: 71496 Cc: Daniele Ceraolo Spurio Signed-off-by: Vinay Belgaumkar Signed-off-by: Badal Nilawar --- drivers/gpu/drm/i915/gt/intel_engine_pm.c

[PATCH 1/2] drm/i915/mtl: add initial definitions for GSC CS

2022-10-31 Thread Badal Nilawar
From: Daniele Ceraolo Spurio Starting on MTL, the GSC is no longer managed with direct MMIO access, but we instead have a dedicated command streamer for it. As a first step for adding support for this CS, add the required definitions. Note that, although it is now a CS, the GSC retains its old

[PATCH 0/2] i915/mtl: Enable idle messaging for GSC CS

2022-10-31 Thread Badal Nilawar
This series includes code change to enable idle messaging for GSC CS. This series depends on: https://patchwork.freedesktop.org/patch/509102/ In order to compile this series included 1 patch from above series, authored by Daniele Ceraolo Spurio, to this series. Please do not review patch 1.

Re: [PATCH] drm/nouveau: Add support to control backlight using bl_power for nva3.

2022-10-31 Thread Bagas Sanjaya
On 10/31/22 23:32, antoniospg wrote: > Summary: > > * Add support to turn on/off backlight when changing values in bl_power > file. This is achieved by using function backlight_get_brightness() > in nva3_set_intensity to get current brightness. > This is [PATCH v2], right? If so, next time

Re: [PATCH V4 2/3] dt-bindings: display: panel: Add NewVision NV3051D bindings

2022-10-31 Thread Rob Herring
On Fri, Oct 28, 2022 at 09:28:59PM -0500, Chris Morgan wrote: > On Fri, Oct 28, 2022 at 07:01:12PM -0400, Krzysztof Kozlowski wrote: > > On 28/10/2022 16:50, Chris Morgan wrote: > > > From: Chris Morgan > > > > > > Add documentation for the NewVision NV3051D panel bindings. > > > Note that for

Re: [PATCH v3 1/4] dt-bindings: vendor-prefixes: Add prefix for ClockworkPi

2022-10-31 Thread Max Fierke
On Sat, Oct 29, 2022, at 1:17 PM, Samuel Holland wrote: > Hi Max, > > The vendor uses "clockwork" as the prefix in their downstream > devicetrees[1][2][3], so I would suggest using the same here. I think > there is a distinction between "Clockwork" the company and "ClockworkPi" > the product. This

Re: [PATCH 1/2] drm/msm/adreno: Simplify read64/write64 helpers

2022-10-31 Thread Dmitry Baryshkov
On 01/11/2022 01:54, Rob Clark wrote: From: Rob Clark The _HI reg is always following the _LO reg, so no need to pass these offsets seprately. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 3 +-- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 27

Re: [PATCH] drm/msm: Fix return type of mdp4_lvds_connector_mode_valid

2022-10-31 Thread Abhinav Kumar
On 10/31/2022 5:24 PM, Dmitry Baryshkov wrote: On 01/11/2022 01:10, Nathan Chancellor wrote: On Tue, Sep 13, 2022 at 01:55:48PM -0700, Nathan Huckleberry wrote: The mode_valid field in drm_connector_helper_funcs is expected to be of type: enum drm_mode_status (* mode_valid) (struct

Re: [PATCH] drm/msm: Fix return type of mdp4_lvds_connector_mode_valid

2022-10-31 Thread Dmitry Baryshkov
On 01/11/2022 01:10, Nathan Chancellor wrote: On Tue, Sep 13, 2022 at 01:55:48PM -0700, Nathan Huckleberry wrote: The mode_valid field in drm_connector_helper_funcs is expected to be of type: enum drm_mode_status (* mode_valid) (struct drm_connector *connector,

Re: [Intel-gfx] [PATCH v7 0/9] dyndbg: drm.debug adaptation

2022-10-31 Thread Jason Baron
On 10/31/22 6:11 PM, jim.cro...@gmail.com wrote: On Mon, Oct 31, 2022 at 7:07 AM Ville Syrjälä wrote: On Sun, Oct 30, 2022 at 08:42:52AM -0600, jim.cro...@gmail.com wrote: On Thu, Oct 27, 2022 at 2:10 PM Ville Syrjälä wrote: On Thu, Oct 27, 2022 at 01:55:39PM -0600, jim.cro...@gmail.com

Re: [PATCH 1/2] drm/msm/dsi: add a helper method to compute the dsi byte clk

2022-10-31 Thread Dmitry Baryshkov
On 28/10/2022 01:22, Abhinav Kumar wrote: On 10/27/2022 10:35 AM, Dmitry Baryshkov wrote: On 22/09/2022 03:49, Abhinav Kumar wrote: Re-arrange the dsi_calc_pclk method to two helpers, one to compute the DSI byte clk and the other to compute the pclk. This makes the separation of the two

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Dmitry Baryshkov
On 01/11/2022 03:08, Doug Anderson wrote: Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: Hi Dmitry, Link rate is advertised by sink, but adjusted (reduced the link rate) by host during link training. Therefore should be fine if host did not support HBR3 rate. It will reduce to

Re: [RFC PATCH 1/3] drm: Introduce color fill properties for drm plane

2022-10-31 Thread Dmitry Baryshkov
Hi, On 01/11/2022 01:24, Jessica Zhang wrote: On 10/29/2022 5:08 AM, Dmitry Baryshkov wrote: On 29/10/2022 01:59, Jessica Zhang wrote: Add support for COLOR_FILL and COLOR_FILL_FORMAT properties for drm_plane. In addition, add support for setting and getting the values of these properties.

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Doug Anderson
Hi, On Mon, Oct 31, 2022 at 2:11 PM Kuogee Hsieh wrote: > > Hi Dmitry, > > > Link rate is advertised by sink, but adjusted (reduced the link rate) > by host during link training. > > Therefore should be fine if host did not support HBR3 rate. > > It will reduce to lower link rate during link

Re: [PATCH 00/10] Connect VFIO to IOMMUFD

2022-10-31 Thread Jason Gunthorpe
On Mon, Oct 31, 2022 at 08:25:39PM +0800, Yi Liu wrote: > > There is something wrong with the test suite that it isn't covering > > the above, I'm going to look into that today. > > sounds to be the cause. I didn't see any significant change in vfio_main.c > that may fail gvt. So should the

[PATCH 1/2] drm/msm/adreno: Simplify read64/write64 helpers

2022-10-31 Thread Rob Clark
From: Rob Clark The _HI reg is always following the _LO reg, so no need to pass these offsets seprately. Signed-off-by: Rob Clark --- drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 3 +-- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 27 -

[PATCH 2/2] drm/msm: Hangcheck progress detection

2022-10-31 Thread Rob Clark
From: Rob Clark If the hangcheck timer expires, check if the fw's position in the cmdstream has advanced (changed) since last timer expiration, and allow it up to three additional "extensions" to it's alotted time. The intention is to continue to catch "shader stuck in a loop" type hangs

[PATCH 0/2] drm/msm: Improved hang detection

2022-10-31 Thread Rob Clark
From: Rob Clark Try to detect when submit jobs are making forward progress and give them a bit more time. Rob Clark (2): drm/msm/adreno: Simplify read64/write64 helpers drm/msm: Hangcheck progress detection drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 3 +-

Re: [PATCH 10/10] iommufd: Allow iommufd to supply /dev/vfio/vfio

2022-10-31 Thread Alex Williamson
On Fri, 28 Oct 2022 15:44:36 -0300 Jason Gunthorpe wrote: > On Wed, Oct 26, 2022 at 03:31:33PM -0600, Alex Williamson wrote: > > On Tue, 25 Oct 2022 15:50:45 -0300 > > Jason Gunthorpe wrote: > > > > > If the VFIO container is compiled out, give a kconfig option for iommufd > > > to provide

Re: [PATCH 04/10] vfio: Move storage of allow_unsafe_interrupts to vfio_main.c

2022-10-31 Thread Alex Williamson
On Fri, 28 Oct 2022 15:40:09 -0300 Jason Gunthorpe wrote: > On Wed, Oct 26, 2022 at 03:24:42PM -0600, Alex Williamson wrote: > > On Tue, 25 Oct 2022 15:17:10 -0300 > > Jason Gunthorpe wrote: > > > > > This legacy module knob has become uAPI, when set on the vfio_iommu_type1 > > > it disables

Re: [RFC PATCH 1/3] drm: Introduce color fill properties for drm plane

2022-10-31 Thread Jessica Zhang
On 10/29/2022 5:08 AM, Dmitry Baryshkov wrote: On 29/10/2022 01:59, Jessica Zhang wrote: Add support for COLOR_FILL and COLOR_FILL_FORMAT properties for drm_plane. In addition, add support for setting and getting the values of these properties. COLOR_FILL represents the color fill of a

Re: [PATCH] drm: xlnx: Fix return type of zynqmp_dp_connector_mode_valid

2022-10-31 Thread Nathan Chancellor
Hi all, On Tue, Sep 13, 2022 at 01:56:00PM -0700, Nathan Huckleberry wrote: > The mode_valid field in drm_connector_helper_funcs is expected to be of > type > enum drm_mode_status (* mode_valid) (struct drm_connector *connector, > struct drm_display_mode

Re: [RFC PATCH 3/3] drm/msm/dpu: Use color_fill property for DPU planes

2022-10-31 Thread Jessica Zhang
On 10/29/2022 4:40 AM, Dmitry Baryshkov wrote: On 29/10/2022 01:59, Jessica Zhang wrote: Initialize and use the color_fill properties for planes in DPU driver. In addition, relax framebuffer requirements within atomic commit path and add checks for NULL framebuffers. Signed-off-by: Jessica

Re: [Intel-gfx] [PATCH v7 0/9] dyndbg: drm.debug adaptation

2022-10-31 Thread jim . cromie
On Mon, Oct 31, 2022 at 7:07 AM Ville Syrjälä wrote: > > On Sun, Oct 30, 2022 at 08:42:52AM -0600, jim.cro...@gmail.com wrote: > > On Thu, Oct 27, 2022 at 2:10 PM Ville Syrjälä > > wrote: > > > > > > On Thu, Oct 27, 2022 at 01:55:39PM -0600, jim.cro...@gmail.com wrote: > > > > On Thu, Oct 27,

Re: [PATCH] drm/msm: Fix return type of mdp4_lvds_connector_mode_valid

2022-10-31 Thread Nathan Chancellor
Hi all, On Tue, Sep 13, 2022 at 01:55:48PM -0700, Nathan Huckleberry wrote: > The mode_valid field in drm_connector_helper_funcs is expected to be of > type: > enum drm_mode_status (* mode_valid) (struct drm_connector *connector, > struct drm_display_mode

Re: [RFC PATCH 1/3] drm: Introduce color fill properties for drm plane

2022-10-31 Thread Jessica Zhang
On 10/29/2022 4:23 AM, Dmitry Baryshkov wrote: On 29/10/2022 01:59, Jessica Zhang wrote: Add support for COLOR_FILL and COLOR_FILL_FORMAT properties for drm_plane. In addition, add support for setting and getting the values of these properties. COLOR_FILL represents the color fill of a

[PATCH] drm/i915/guc: Remove excessive line feeds in state dumps

2022-10-31 Thread John . C . Harrison
From: John Harrison Some of the GuC state dump messages were adding extra line feeds. When printing via a DRM printer to dmesg, for example, that messes up the log formatting as it loses any prefixing from the printer. Given that the extra line feeds are just in the middle of random bits of GuC

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 --- Comment #6 from Alex Deucher (alexdeuc...@gmail.com) --- (In reply to Martin Šušla from comment #5) > (In reply to Martin Šušla from comment #3) > > After the message mention in title appears, not even a single interrupt is > > registered. >

Re: [PATCH] drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid

2022-10-31 Thread Nathan Chancellor
On Tue, Sep 13, 2022 at 01:55:44PM -0700, Nathan Huckleberry wrote: > The mode_valid field in drm_connector_helper_funcs is expected to be of > type: > enum drm_mode_status (* mode_valid) (struct drm_connector *connector, > struct drm_display_mode *mode); > >

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Kuogee Hsieh
Hi Dmitry, Link rate is advertised by sink, but adjusted (reduced the link rate)  by host during link training. Therefore should be fine if host did not support HBR3 rate. It will reduce to lower link rate during link training procedures. kuogee On 10/31/2022 11:46 AM, Dmitry Baryshkov

Re: [RFC PATCH 2/3] drm: Adjust atomic checks for solid fill color

2022-10-31 Thread Jessica Zhang
On 10/29/2022 4:38 AM, Dmitry Baryshkov wrote: On 29/10/2022 01:59, Jessica Zhang wrote: Loosen the requirements for atomic and legacy commit so that, in cases where solid fill planes is enabled (and FB_ID is NULL), the commit can still go through. In addition, add framebuffer NULL checks

Re: [PATCH 02/11] ARM: sa1100: remove unused board files

2022-10-31 Thread Linus Walleij
On Fri, Oct 21, 2022 at 5:55 PM Arnd Bergmann wrote: > From: Arnd Bergmann > > The Cerf, H3100, Badge4, Hackkit, LART, NanoEngine, PLEB, Shannon and > Simpad machines were all marked as unused as there are no known users > left. Remove all of these, along with references to them in defconfig >

Re: [PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Dmitry Baryshkov
On 31/10/2022 20:27, Kuogee Hsieh wrote: An HBR3-capable device shall also support TPS4. Since TPS4 feature had been implemented already, it is not necessary to limit link rate at HBR2 (5.4G). This patch remove this limitation to support HBR3 (8.1G) link rate. The DP driver supports several

Re: [PATCH 1/5] drm/i915/mtl: add initial definitions for GSC CS

2022-10-31 Thread Matt Roper
On Mon, Oct 31, 2022 at 09:43:33AM -0700, Ceraolo Spurio, Daniele wrote: > > > On 10/31/2022 9:26 AM, Matt Roper wrote: > > On Thu, Oct 27, 2022 at 03:15:50PM -0700, Daniele Ceraolo Spurio wrote: > > > Starting on MTL, the GSC is no longer managed with direct MMIO access, > > > but we instead

Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Don't deadlock busyness stats vs reset

2022-10-31 Thread John Harrison
On 10/31/2022 05:51, Tvrtko Ursulin wrote: On 31/10/2022 10:09, Tvrtko Ursulin wrote: On 28/10/2022 20:46, john.c.harri...@intel.com wrote: From: John Harrison The engine busyness stats has a worker function to do things like 64bit extend the 32bit hardware counters. The GuC's reset prepare

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Justin Forbes
On Mon, Oct 31, 2022 at 11:52 AM Hector Martin wrote: > > On 01/11/2022 01.15, Justin Forbes wrote: > > On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: > >> > >> drm_fb_build_fourcc_list() currently returns all emulated formats > >> unconditionally as long as the native format is among

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 --- Comment #5 from Martin Šušla (ask4supp...@email.cz) --- (In reply to Martin Šušla from comment #3) > After the message mention in title appears, not even a single interrupt is > registered. (Valid for both interrupts of the amdgpu driver.)

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 --- Comment #4 from Martin Šušla (ask4supp...@email.cz) --- Created attachment 303110 --> https://bugzilla.kernel.org/attachment.cgi?id=303110=edit Kernel log interlaced with contents of /proc/interrupts polled every second #! /bin/sh print()

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 --- Comment #3 from Martin Šušla (ask4supp...@email.cz) --- After the message mention in title appears, not even a single interrupt is registered. -- You may reply to this email to add a comment. You are receiving this mail because: You are

Re: [PATCH] drm/i915/mtl: Media GT and Render GT share common GGTT

2022-10-31 Thread Matt Roper
On Mon, Oct 31, 2022 at 06:01:11PM +0530, Aravind Iddamsetty wrote: > On XE_LPM+ platforms the media engines are carved out into a separate > GT but have a common GGTMMADR address range which essentially makes > the GGTT address space to be shared between media and render GT. While this is all

Re: 6.1-rc: names of video outputs changed?

2022-10-31 Thread Ville Syrjälä
On Mon, Oct 31, 2022 at 06:19:52PM +0100, Pavel Machek wrote: > Hi! > > > > I used to be able to do: > > > > > > pavel@duo:~$ xrandr --output HDMI1 --mode 1920x1080 --primary > > > warning: output HDMI1 not found; ignoring > > > pavel@duo:~$ xrandr --output VGA1 --mode 1280x1024 --below

[PATCH] drm/msm/dp: remove limitation of link rate at 5.4G to support HBR3

2022-10-31 Thread Kuogee Hsieh
An HBR3-capable device shall also support TPS4. Since TPS4 feature had been implemented already, it is not necessary to limit link rate at HBR2 (5.4G). This patch remove this limitation to support HBR3 (8.1G) link rate. Signed-off-by: Kuogee Hsieh --- drivers/gpu/drm/msm/dp/dp_panel.c | 4

Re: 6.1-rc: names of video outputs changed?

2022-10-31 Thread Alex Deucher
On Mon, Oct 31, 2022 at 1:19 PM Pavel Machek wrote: > > Hi! > > > > I used to be able to do: > > > > > > pavel@duo:~$ xrandr --output HDMI1 --mode 1920x1080 --primary > > > warning: output HDMI1 not found; ignoring > > > pavel@duo:~$ xrandr --output VGA1 --mode 1280x1024 --below HDMI1 > >

[PATCH] drm/i915/hwmon: Don't use FIELD_PREP

2022-10-31 Thread Ashutosh Dixit
FIELD_PREP and REG_FIELD_PREP have checks requiring a compile time constant mask. When the mask comes in as the argument of a function these checks can can fail depending on the compiler (gcc vs clang), optimization level, etc. Use a simpler version of FIELD_PREP which skips these checks. The

Re: 6.1-rc: names of video outputs changed?

2022-10-31 Thread Pavel Machek
Hi! > > I used to be able to do: > > > > pavel@duo:~$ xrandr --output HDMI1 --mode 1920x1080 --primary > > warning: output HDMI1 not found; ignoring > > pavel@duo:~$ xrandr --output VGA1 --mode 1280x1024 --below HDMI1 > > warning: output VGA1 not found; ignoring > > > > ...but now I

[PATCH] drm/rockchip: vop: Quiet always-warning AFBC log

2022-10-31 Thread Brian Norris
The downstream code from which this was derived didn't ever run through this 'switch' block with non-AFBC formats, but the upstream code does -- we use this function to probe whether a given format is supported. Demote the warning to eliminate this sort of warning seen on every boot: [drm]

Re: 6.1-rc: names of video outputs changed?

2022-10-31 Thread Ville Syrjälä
On Mon, Oct 31, 2022 at 05:58:34PM +0100, Pavel Machek wrote: > Hi! > > I used to be able to do: > > pavel@duo:~$ xrandr --output HDMI1 --mode 1920x1080 --primary > warning: output HDMI1 not found; ignoring > pavel@duo:~$ xrandr --output VGA1 --mode 1280x1024 --below HDMI1 > warning:

Re: 6.1-rc: names of video outputs changed?

2022-10-31 Thread Alex Deucher
Did you change which xorg DDX you are using? E.g., between xf86-video-modesetting and a xf86-video-[i915/radeon/amdgpu/etc.]? They may have different naming conventions. Alex On Mon, Oct 31, 2022 at 1:04 PM Pavel Machek wrote: > > Hi! > > I used to be able to do: > > pavel@duo:~$ xrandr

6.1-rc: names of video outputs changed?

2022-10-31 Thread Pavel Machek
Hi! I used to be able to do: pavel@duo:~$ xrandr --output HDMI1 --mode 1920x1080 --primary warning: output HDMI1 not found; ignoring pavel@duo:~$ xrandr --output VGA1 --mode 1280x1024 --below HDMI1 warning: output VGA1 not found; ignoring ...but now I have to do: pavel@duo:~$

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Hector Martin
On 01/11/2022 01.15, Justin Forbes wrote: > On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: >> >> drm_fb_build_fourcc_list() currently returns all emulated formats >> unconditionally as long as the native format is among them, even though >> not all combinations have conversion helpers.

Re: [PATCH 1/5] drm/i915/mtl: add initial definitions for GSC CS

2022-10-31 Thread Ceraolo Spurio, Daniele
On 10/31/2022 9:26 AM, Matt Roper wrote: On Thu, Oct 27, 2022 at 03:15:50PM -0700, Daniele Ceraolo Spurio wrote: Starting on MTL, the GSC is no longer managed with direct MMIO access, but we instead have a dedicated command streamer for it. As a first step for adding support for this CS, add

[PATCH] drm/nouveau: Add support to control backlight using bl_power for nva3.

2022-10-31 Thread antoniospg
Summary: * Add support to turn on/off backlight when changing values in bl_power file. This is achieved by using function backlight_get_brightness() in nva3_set_intensity to get current brightness. Test plan: * Turn off: echo 1 > /sys/class/backlight/nv_backlight/bl_power * Turn on: echo 0

Re: [PATCH 1/5] drm/i915/mtl: add initial definitions for GSC CS

2022-10-31 Thread Matt Roper
On Thu, Oct 27, 2022 at 03:15:50PM -0700, Daniele Ceraolo Spurio wrote: > Starting on MTL, the GSC is no longer managed with direct MMIO access, > but we instead have a dedicated command streamer for it. As a first step > for adding support for this CS, add the required definitions. > Note that,

Re: [PATCH v2] drm/format-helper: Only advertise supported formats for conversion

2022-10-31 Thread Justin Forbes
On Thu, Oct 27, 2022 at 8:57 AM Hector Martin wrote: > > drm_fb_build_fourcc_list() currently returns all emulated formats > unconditionally as long as the native format is among them, even though > not all combinations have conversion helpers. Although the list is > arguably provided to

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 --- Comment #2 from Alex Deucher (alexdeuc...@gmail.com) --- Are you getting interrupts on the GPU? Check /proc/interrupts to see if you are getting interrupts for the GPU. -- You may reply to this email to add a comment. You are receiving

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 Alex Deucher (alexdeuc...@gmail.com) changed: What|Removed |Added CC|

Re: [PATCH] drm/amd/display: add parameter backlight_min

2022-10-31 Thread Alex Deucher
On Sun, Oct 30, 2022 at 5:26 AM Filip Moc wrote: > > There are some devices on which amdgpu won't allow user to set brightness > to sufficiently low values even though the hardware would support it just > fine. > > This usually happens in two cases when either configuration of brightness > levels

Re: [PATCH 02/11] ARM: sa1100: remove unused board files

2022-10-31 Thread Lee Jones
On Fri, 21 Oct 2022, Arnd Bergmann wrote: > From: Arnd Bergmann > > The Cerf, H3100, Badge4, Hackkit, LART, NanoEngine, PLEB, Shannon and > Simpad machines were all marked as unused as there are no known users > left. Remove all of these, along with references to them in defconfig > files and

Re: [Intel-gfx] [PATCH 3/5] drm/i915/mtl: add GSC CS interrupt support

2022-10-31 Thread Ceraolo Spurio, Daniele
On 10/31/2022 5:55 AM, Tvrtko Ursulin wrote: On 28/10/2022 18:00, Ceraolo Spurio, Daniele wrote: On 10/28/2022 1:38 AM, Tvrtko Ursulin wrote: On 27/10/2022 23:15, Daniele Ceraolo Spurio wrote: The GSC CS re-uses the same interrupt bits that the GSC used in older platforms. This means

[PATCH v2] dma-buf: fix racing conflict of dma_heap_add()

2022-10-31 Thread Dawei Li
Racing conflict could be: task A task B list_for_each_entry strcmp(h->name)) list_for_each_entry strcmp(h->name) kzallockzalloc .. . device_create device_create list_add

Re: [PATCH] drm/amd/display: drop vblank_lock from struct amdgpu_display_manager

2022-10-31 Thread Harry Wentland
On 2022-10-28 16:44, Hamza Mahfooz wrote: > As of commit 09a5df6c444c ("drm/amd/display: Fix multi-display support > for idle opt workqueue"), vblank_lock is no longer being used. So, don't > init it in amdgpu_dm_init() and remove it from struct > amdgpu_display_manager. > > Signed-off-by: Hamza

Re: [PATCH] drm/amd/display: add parameter backlight_min

2022-10-31 Thread Harry Wentland
On 2022-10-29 15:13, Filip Moc wrote: > There are some devices on which amdgpu won't allow user to set brightness > to sufficiently low values even though the hardware would support it just > fine. > > This usually happens in two cases when either configuration of brightness > levels via

Re: [PATCH] drm/amd/display: fix an incorrect comment

2022-10-31 Thread Alex Deucher
On Fri, Oct 28, 2022 at 11:22 PM Alex Hung wrote: > > This is a copy-and-paste error. Fix the comment to match the macro > definition. > > Signed-off-by: Alex Hung Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/display/dc/dml/dcn10/dcn10_fpu.h | 2 +- > 1 file changed, 1 insertion(+),

Re: [PATCH] drm/amd/display (gcc13): fix enum mismatch

2022-10-31 Thread Harry Wentland
On 2022-10-31 07:42, Jiri Slaby (SUSE) wrote: > rn_vbios_smu_set_dcn_low_power_state() produces a valid warning with > gcc-13: > drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:6: > error: conflicting types for 'rn_vbios_smu_set_dcn_low_power_state' due to >

Re: [PATCH] drm/i915/mtl: Add MC6 Wa_14017210380 for SAMedia

2022-10-31 Thread Nilawar, Badal
Hi Rodrigo, On 31-10-2022 15:19, Rodrigo Vivi wrote: On Sat, Oct 29, 2022 at 12:59:35AM +0530, Badal Nilawar wrote: This workaround is added for Media Tile of MTL A step. It is to help pcode workaround which handles the hardware bug seen on CXL splitter during package C2/C3 transitins due to

Re: [PATCH v3] dma-buf: cma_heap: Remove duplicated 'by' in comment

2022-10-31 Thread AngeloGioacchino Del Regno
Il 28/10/22 08:55, Mark-PK Tsai ha scritto: Remove duplicated 'by' from comment in cma_heap_allocate(). Signed-off-by: Mark-PK Tsai Reviewed-By: Mukesh Ojha Acked-by: John Stultz Reviewed-by: AngeloGioacchino Del Regno

Re: [PATCH v2 14/21] drm/fb-helper: Rename drm_fb_helper_unregister_fbi() to use _info postfix

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Rename drm_fb_helper_unregister_fbi() to drm_fb_helper_unregister_info() > as part of unifying the naming within fbdev helpers. Adapt drivers. No > functional changes. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas

[Bug 216645] Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 Martin Šušla (ask4supp...@email.cz) changed: What|Removed |Added Attachment #303109|Kernel log created by the |Kernel log created

[Bug 216645] New: Fence fallback timer expired on ring gfx

2022-10-31 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216645 Bug ID: 216645 Summary: Fence fallback timer expired on ring gfx Product: Drivers Version: 2.5 Kernel Version: 5.15.0-43-generic Hardware: All OS: Linux

[PATCH] drm/i915/dg2: Introduce Wa_18017747507

2022-10-31 Thread Wayne Boyer
WA 18017747507 applies to all DG2 skus. BSpec: 56035, 46121, 68173 Signed-off-by: Wayne Boyer --- drivers/gpu/drm/i915/gt/intel_gt_regs.h | 3 +++ drivers/gpu/drm/i915/gt/intel_workarounds.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/intel_gt_regs.h

Re: [Intel-gfx] [PATCH v7 0/9] dyndbg: drm.debug adaptation

2022-10-31 Thread Ville Syrjälä
On Sun, Oct 30, 2022 at 08:42:52AM -0600, jim.cro...@gmail.com wrote: > On Thu, Oct 27, 2022 at 2:10 PM Ville Syrjälä > wrote: > > > > On Thu, Oct 27, 2022 at 01:55:39PM -0600, jim.cro...@gmail.com wrote: > > > On Thu, Oct 27, 2022 at 9:59 AM Ville Syrjälä > > > wrote: > > > > > > > > On Thu,

Re: [Intel-gfx] [PATCH 3/5] drm/i915/mtl: add GSC CS interrupt support

2022-10-31 Thread Tvrtko Ursulin
On 28/10/2022 18:00, Ceraolo Spurio, Daniele wrote: On 10/28/2022 1:38 AM, Tvrtko Ursulin wrote: On 27/10/2022 23:15, Daniele Ceraolo Spurio wrote: The GSC CS re-uses the same interrupt bits that the GSC used in older platforms. This means that we can now have an engine interrupt coming out

Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Don't deadlock busyness stats vs reset

2022-10-31 Thread Tvrtko Ursulin
On 31/10/2022 10:09, Tvrtko Ursulin wrote: On 28/10/2022 20:46, john.c.harri...@intel.com wrote: From: John Harrison The engine busyness stats has a worker function to do things like 64bit extend the 32bit hardware counters. The GuC's reset prepare function flushes out this worker function

Re: [PATCH v2 13/21] drm/fb-helper: Rename drm_fb_helper_alloc_fbi() to use _info postfix

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Rename drm_fb_helper_alloc_fbi() to drm_fb_helper_alloc_info() as > part of unifying the naming within fbdev helpers. Adapt drivers. No > functional changes. > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas -- Best

Re: [PATCH v2 12/21] drm/fb_helper: Rename field fbdev to info in struct drm_fb_helper

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Rename struct drm_fb_helper.fbdev to info. The current name is > misleading as it overlaps with generic fbdev naming conventions. > Adapt to the usual naming in fbdev drivers by calling the field > 'info'. No functional changes. > > Signed-off-by:

Re: [PATCH 00/10] Connect VFIO to IOMMUFD

2022-10-31 Thread Yi Liu
On 2022/10/31 20:18, Jason Gunthorpe wrote: On Mon, Oct 31, 2022 at 06:38:45PM +0800, Yi Liu wrote: Hi Jason, On 2022/10/26 02:17, Jason Gunthorpe wrote: This series provides an alternative container layer for VFIO implemented using iommufd. This is optional, if CONFIG_IOMMUFD is not set then

[PATCH] drm/i915/mtl: Media GT and Render GT share common GGTT

2022-10-31 Thread Aravind Iddamsetty
On XE_LPM+ platforms the media engines are carved out into a separate GT but have a common GGTMMADR address range which essentially makes the GGTT address space to be shared between media and render GT. BSPEC: 63834 Cc: Matt Roper Signed-off-by: Aravind Iddamsetty ---

Re: [PATCH v8 5/5] drm/bridge: cdns-dsi: Add support for J721E wrapper

2022-10-31 Thread Rahul T R
Hi Tomi, On 09:12-20221026, Tomi Valkeinen wrote: > Hi, > > On 21/10/2022 20:18, Rahul T R wrote: > > Add support for wrapper settings for DSI bridge on > > j721e. Also set the DPI input to DPI0 > > I think a few more words on the HW layout would be nice. What does the > wrapper do and how is

Re: [PATCH v2 11/21] drm/fb-helper: Cleanup include statements in header file

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Only include what we have to. > > Signed-off-by: Thomas Zimmermann > --- Nice cleanup. Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat

Re: [PATCH v2 10/21] drm/tve200: Include

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Include for of_match_ptr(). > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat

Re: [PATCH v2 09/21] drm/panel-ili9341: Include

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Include for devm_of_find_backlight(). > > Signed-off-by: Thomas Zimmermann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat

[PATCH v9 3/5] drm/bridge: cdns-dsi: Move to drm/bridge/cadence

2022-10-31 Thread Rahul T R
Move the cadence dsi bridge under drm/bridge/cadence directory, to prepare for adding j721e wrapper support Signed-off-by: Rahul T R Reviewed-by: Tomi Valkeinen --- drivers/gpu/drm/bridge/Kconfig| 11 --- drivers/gpu/drm/bridge/Makefile |

[PATCH v9 5/5] drm/bridge: cdns-dsi: Add support for J721E wrapper

2022-10-31 Thread Rahul T R
Add support for wrapper settings for DSI bridge on j721e. Also enable DPI0 --- --- | ---| |--- | | DSS | DPI2 |->| DPI0 | DSI Wrapper | | ---| |--- | ---

[PATCH v9 2/5] dt-bindings: display: bridge: cdns, dsi: Add compatible for dsi on j721e

2022-10-31 Thread Rahul T R
Add compatible to support dsi bridge on j721e Signed-off-by: Rahul T R Reviewed-by: Rob Herring --- .../bindings/display/bridge/cdns,dsi.yaml | 25 ++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v9 4/5] drm/bridge: cdns-dsi: Create a header file

2022-10-31 Thread Rahul T R
Create a header file for cdns dsi and move register offsets and structure to header, to prepare for adding j721e wrapper support Signed-off-by: Rahul T R Reviewed-by: Tomi Valkeinen --- .../gpu/drm/bridge/cadence/cdns-dsi-core.c| 446 +

[PATCH v9 0/5] Add support for CDNS DSI J721E wrapper

2022-10-31 Thread Rahul T R
Following series of patches adds supports for CDNS DSI bridge on j721e. v9: - Fixed below based on review comments in v8 - Added more info on wrapper in the commit message - Fixed the description in Kconfig - Fixed the formatting of of_match table - exit -> deinit in platform ops - Remove

[PATCH v9 1/5] dt-bindings: display: bridge: Convert cdns, dsi.txt to yaml

2022-10-31 Thread Rahul T R
Convert cdns,dsi.txt binding to yaml format Signed-off-by: Rahul T R Reviewed-by: Rob Herring --- .../bindings/display/bridge/cdns,dsi.txt | 112 - .../bindings/display/bridge/cdns,dsi.yaml | 157 ++ 2 files changed, 157 insertions(+), 112 deletions(-)

Re: [PATCH v2 08/21] drm/rockchip: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as rockchip uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions

Re: [PATCH v2 07/21] drm/logicvc: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as logicvc uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions

Re: [PATCH 00/10] Connect VFIO to IOMMUFD

2022-10-31 Thread Jason Gunthorpe
On Mon, Oct 31, 2022 at 06:38:45PM +0800, Yi Liu wrote: > Hi Jason, > > On 2022/10/26 02:17, Jason Gunthorpe wrote: > > This series provides an alternative container layer for VFIO implemented > > using iommufd. This is optional, if CONFIG_IOMMUFD is not set then it will > > not be compiled in. >

Re: [PATCH v2 06/21] drm/ingenic: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as ingenic uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions

Re: [PATCH v2 05/21] drm/imx/dcss: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as DCSS uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions drm_kms_helper_hotplug_event()

Re: [PATCH v2 04/21] drm/amdgpu: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as amdgpu uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions drm_kms_helper_hotplug_event()

Re: [PATCH v2 04/21] drm/amdgpu: Don't set struct drm_driver.output_poll_changed

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.output_poll_changed. It's used to restore > the fbdev console. But as amdgpu uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See the > functions drm_kms_helper_hotplug_event()

Re: [PATCH] staging: fbtft: Use ARRAY_SIZE() to get argument count

2022-10-31 Thread Julia Lawall
On Mon, 31 Oct 2022, Deepak R Varma wrote: > On Mon, Oct 31, 2022 at 12:41:40PM +0530, Deepak Varma wrote: > > On Sat, Oct 29, 2022 at 07:34:26PM +0200, Julia Lawall wrote: > > > > > > > > > On Sat, 29 Oct 2022, Deepak R Varma wrote: > > > > > > > On Sat, Oct 29, 2022 at 09:32:50AM +0200, Greg

Re: [PATCH v2 03/21] drm/vboxvideo: Don't set struct drm_driver.lastclose

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.lastclose. It's used to restore the > fbdev console. But as vboxvideo uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See > the call to drm_client_dev_restore() in

Re: [PATCH v2 02/21] drm/mcde: Don't set struct drm_driver.lastclose

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.lastclose. It's used to restore the > fbdev console. But as mcde uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See > the call to drm_client_dev_restore() in drm_lastclose().

Re: [PATCH v2 01/21] drm/komeda: Don't set struct drm_driver.lastclose

2022-10-31 Thread Javier Martinez Canillas
On 10/24/22 13:19, Thomas Zimmermann wrote: > Don't set struct drm_driver.lastclose. It's used to restore the > fbdev console. But as komeda uses generic fbdev emulation, the > console is being restored by the DRM client helpers already. See > the call to drm_client_dev_restore() in

[PATCH] drm/amd/display (gcc13): fix enum mismatch

2022-10-31 Thread Jiri Slaby (SUSE)
rn_vbios_smu_set_dcn_low_power_state() produces a valid warning with gcc-13: drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/rn_clk_mgr_vbios_smu.c:237:6: error: conflicting types for 'rn_vbios_smu_set_dcn_low_power_state' due to enum/integer mismatch; have 'void(struct clk_mgr_internal *, enum

  1   2   >