[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915/display: Increase AUX timeout for Type-C (rev3)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915/display: Increase AUX timeout for Type-C (rev3) URL : https://patchwork.freedesktop.org/series/116010/ State : success == Summary == CI Bug Log - changes from CI_DRM_13020_full -> Patchwork_116010v3_full

Re: [Intel-gfx] [PATCH v4] drm/i915: Make IRQ reset and postinstall multi-gt aware

2023-04-17 Thread Matt Roper
On Tue, Apr 18, 2023 at 12:34:43AM +0200, Andi Shyti wrote: > In multi-gt systems IRQs need to be reset and enabled per GT. > > This might add some redundancy when handling interrupts for > engines that might not exist in every tile, but helps to keep the > code cleaner and more understandable. >

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Make IRQ reset and postinstall multi-gt aware (rev6)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915: Make IRQ reset and postinstall multi-gt aware (rev6) URL : https://patchwork.freedesktop.org/series/115465/ State : success == Summary == CI Bug Log - changes from CI_DRM_13023 -> Patchwork_115465v6 Su

Re: [Intel-gfx] [PATCH v3] drm/i915/guc/slpc: Provide sysfs for efficient freq

2023-04-17 Thread Belgaumkar, Vinay
On 4/14/2023 4:49 PM, Dixit, Ashutosh wrote: On Fri, 14 Apr 2023 15:34:15 -0700, Vinay Belgaumkar wrote: @@ -457,6 +458,34 @@ int intel_guc_slpc_get_max_freq(struct intel_guc_slpc *slpc, u32 *val) return ret; } +int intel_guc_slpc_set_ignore_eff_freq(struct intel_guc_slpc *slpc, bo

[Intel-gfx] [PATCH v5] drm/i915: Make IRQ reset and postinstall multi-gt aware

2023-04-17 Thread Andi Shyti
In multi-gt systems IRQs need to be reset and enabled per GT. This might add some redundancy when handling interrupts for engines that might not exist in every tile, but helps to keep the code cleaner and more understandable. Signed-off-by: Andi Shyti Cc: Tvrtko Ursulin Reviewed-by: Matt Roper

[Intel-gfx] [PATCH] drm/i915/guc/slpc: Provide sysfs for efficient freq

2023-04-17 Thread Vinay Belgaumkar
SLPC enables use of efficient freq at init by default. It is possible for GuC to request frequencies that are higher than the 'software' max if user has set it lower than the efficient level. Scenarios/tests that require strict fixing of freq below the efficient level will need to disable it throu

Re: [Intel-gfx] [igt-dev] [PATCH i-g-t 2/4] lib: Make SLPC helper function per GT

2023-04-17 Thread Belgaumkar, Vinay
On 4/14/2023 1:25 PM, Dixit, Ashutosh wrote: On Fri, 14 Apr 2023 12:16:37 -0700, Vinay Belgaumkar wrote: Hi Vinay, Use default of 0 where GT id is not being used. v2: Add a helper for GT 0 (Ashutosh) Signed-off-by: Vinay Belgaumkar --- lib/igt_pm.c | 36 ++

[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Make IRQ reset and postinstall multi-gt aware (rev7)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915: Make IRQ reset and postinstall multi-gt aware (rev7) URL : https://patchwork.freedesktop.org/series/115465/ State : success == Summary == CI Bug Log - changes from CI_DRM_13023 -> Patchwork_115465v7 Su

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/guc/slpc: Provide sysfs for efficient freq (rev3)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915/guc/slpc: Provide sysfs for efficient freq (rev3) URL : https://patchwork.freedesktop.org/series/116510/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/guc/slpc: Provide sysfs for efficient freq (rev3)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915/guc/slpc: Provide sysfs for efficient freq (rev3) URL : https://patchwork.freedesktop.org/series/116510/ State : failure == Summary == CI Bug Log - changes from CI_DRM_13023 -> Patchwork_116510v3 Summar

Re: [Intel-gfx] [PATCH v3 12/12] vfio/pci: Report dev_id in VFIO_DEVICE_GET_PCI_HOT_RESET_INFO

2023-04-17 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Monday, April 17, 2023 9:39 PM > > On Fri, Apr 14, 2023 at 09:11:30AM +, Tian, Kevin wrote: > > > The only corner case with this option is when a user mixes group > > and cdev usages. iirc you mentioned it's a valid usage to be supported. > > In that case the k

Re: [Intel-gfx] [PATCH] drm/i915/guc/slpc: Provide sysfs for efficient freq

2023-04-17 Thread Andi Shyti
Hi Vinay, Looks good, just few minor comments below, [...] > @@ -267,13 +267,11 @@ static int run_test(struct intel_gt *gt, int test_type) > } > > /* > - * Set min frequency to RPn so that we can test the whole > - * range of RPn-RP0. This also turns off efficient freq >

[Intel-gfx] ✓ Fi.CI.IGT: success for drm/i915: Check HPD during eDP probe (rev6)

2023-04-17 Thread Patchwork
== Series Details == Series: drm/i915: Check HPD during eDP probe (rev6) URL : https://patchwork.freedesktop.org/series/114577/ State : success == Summary == CI Bug Log - changes from CI_DRM_13021_full -> Patchwork_114577v6_full Summary ---

Re: [Intel-gfx] [PATCH v3 12/12] vfio/pci: Report dev_id in VFIO_DEVICE_GET_PCI_HOT_RESET_INFO

2023-04-17 Thread Tian, Kevin
> From: Alex Williamson > Sent: Tuesday, April 18, 2023 4:07 AM > > On Mon, 17 Apr 2023 16:31:56 -0300 > Jason Gunthorpe wrote: > > > On Mon, Apr 17, 2023 at 01:01:40PM -0600, Alex Williamson wrote: > > > Yes, it's not trivial, but Jason is now proposing that we consider > > > mixing groups, cd

Re: [Intel-gfx] [PATCH v3 12/12] vfio/pci: Report dev_id in VFIO_DEVICE_GET_PCI_HOT_RESET_INFO

2023-04-17 Thread Alex Williamson
On Tue, 18 Apr 2023 03:24:46 + "Tian, Kevin" wrote: > > From: Alex Williamson > > Sent: Tuesday, April 18, 2023 4:07 AM > > > > On Mon, 17 Apr 2023 16:31:56 -0300 > > Jason Gunthorpe wrote: > > > > > On Mon, Apr 17, 2023 at 01:01:40PM -0600, Alex Williamson wrote: > > > > Yes, it's no

Re: [Intel-gfx] [PATCH v2] drm/i915/display: Increase AUX timeout for Type-C

2023-04-17 Thread Kandpal, Suraj
> On Mon, Apr 17, 2023 at 03:25:34PM +0300, Kandpal, Suraj wrote: > > > > > > On Mon, Apr 17, 2023 at 02:43:25PM +0300, Kandpal, Suraj wrote: > > > > > [...] > > > > > Adding a non-default enable_timeout to the power well descriptor > > > > > would avoid adding more platform checks: > > > > > > > >

Re: [Intel-gfx] [PATCH v3 12/12] vfio/pci: Report dev_id in VFIO_DEVICE_GET_PCI_HOT_RESET_INFO

2023-04-17 Thread Tian, Kevin
> From: Alex Williamson > Sent: Tuesday, April 18, 2023 12:11 PM > > On Tue, 18 Apr 2023 03:24:46 + > "Tian, Kevin" wrote: > > > > From: Alex Williamson > > > Sent: Tuesday, April 18, 2023 4:07 AM > > > > > > On Mon, 17 Apr 2023 16:31:56 -0300 > > > Jason Gunthorpe wrote: > > > > > > > On

[Intel-gfx] [PATCH 1/2] drm/i915: Add new frontbuffer tracking interface to queue flush

2023-04-17 Thread Jouni Högander
We want to wait dma fences in dirtyfb ioctl. As we don't want to make dirtyfb ioctl as blocking call we need to use dma_fence_add_callback. Callback used for dma_fence_add_callback is called from atomic context. Due to this we need to add a new frontbuffer tracking interface to queue flush. Signed

[Intel-gfx] [PATCH 2/2] drm/i915: Handle dma fences in dirtyfb callback

2023-04-17 Thread Jouni Högander
Take into account dma fences in dirtyfb callback. If there is no unsignaled dma fences perform flush immediately. If there are unsignaled dma fences perform invalidate and add callback which will queue flush when the fence gets signaled. Signed-off-by: Jouni Högander --- drivers/gpu/drm/i915/dis

[Intel-gfx] [PATCH 0/2] Handle dma fences in dirtyfb ioctl

2023-04-17 Thread Jouni Högander
Currently i915 dirtyfb ioctl is not taking dma fences into account. This works with features like FBC, PSR, DRRS because our gem code is triggering flush again when rendering completes. We are targeting in getting rid of frontbuffer tracking code: Flusing hook from gem code will be removed as well.

Re: [Intel-gfx] [PATCH v9 01/10] drm/hdcp: Add drm_hdcp_atomic_check()

2023-04-17 Thread Kandpal, Suraj
Yacoub > ; linux-ker...@vger.kernel.org > Subject: [PATCH v9 01/10] drm/hdcp: Add drm_hdcp_atomic_check() > > From: Sean Paul > > Move the hdcp atomic check from i915 to drm_hdcp so other drivers can use > it. No functional changes, just cleaned up some of the code when moving it > over. > > Ac

Re: [Intel-gfx] [PATCH 3/3] drm/i915/hwmon: Block waiting for GuC reset to complete

2023-04-17 Thread Rodrigo Vivi
On Mon, Apr 10, 2023 at 03:35:09PM -0700, Ashutosh Dixit wrote: > Instead of erroring out when GuC reset is in progress, block waiting for > GuC reset to complete which is a more reasonable uapi behavior. > > v2: Avoid race between wake_up_all and waiting for wakeup (Rodrigo) > > Signed-off-by: A

Re: [Intel-gfx] [PATCH v9 02/10] drm/hdcp: Avoid changing crtc state in hdcp atomic check

2023-04-17 Thread Kandpal, Suraj
> > From: Sean Paul > > Instead of forcing a modeset in the hdcp atomic check, rename to > drm_hdcp_has_changed and return true if the content protection value is > changing and let the driver decide whether a modeset is required or not. > > Acked-by: Jani Nikula > Reviewed-by: Rodrigo Vivi >

[Intel-gfx] ✗ Fi.CI.SPARSE: warning for Handle dma fences in dirtyfb ioctl

2023-04-17 Thread Patchwork
== Series Details == Series: Handle dma fences in dirtyfb ioctl URL : https://patchwork.freedesktop.org/series/116620/ State : warning == Summary == Error: dim sparse failed Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately.

[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/display: split out load detect to a separate file

2023-04-17 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/display: split out load detect to a separate file URL : https://patchwork.freedesktop.org/series/116579/ State : failure == Summary == CI Bug Log - changes from CI_DRM_13022_full -> Patchwork_116579v1_full ==

Re: [Intel-gfx] [PATCH] drm/i915/guc/slpc: Provide sysfs for efficient freq

2023-04-17 Thread Belgaumkar, Vinay
On 4/17/2023 6:39 PM, Andi Shyti wrote: Hi Vinay, Looks good, just few minor comments below, [...] @@ -267,13 +267,11 @@ static int run_test(struct intel_gt *gt, int test_type) } /* -* Set min frequency to RPn so that we can test the whole -* range of RPn-RP0.

Re: [Intel-gfx] [PATCH v9 07/10] drm/i915/hdcp: Use HDCP helpers for i915

2023-04-17 Thread Kandpal, Suraj
> -Original Message- > From: Mark Yacoub > Sent: Wednesday, April 12, 2023 12:52 AM > To: Jani Nikula ; Joonas Lahtinen > ; Vivi, Rodrigo ; > Tvrtko Ursulin ; David Airlie > ; Daniel Vetter > Cc: seanp...@chromium.org; Kandpal, Suraj ; > diand...@chromium.org; dmitry.barysh...@linaro.o

[Intel-gfx] ✓ Fi.CI.BAT: success for Handle dma fences in dirtyfb ioctl

2023-04-17 Thread Patchwork
== Series Details == Series: Handle dma fences in dirtyfb ioctl URL : https://patchwork.freedesktop.org/series/116620/ State : success == Summary == CI Bug Log - changes from CI_DRM_13023 -> Patchwork_116620v1 Summary --- **SUCCESS**

Re: [Intel-gfx] [PATCH v9 01/10] drm/hdcp: Add drm_hdcp_atomic_check()

2023-04-17 Thread Jani Nikula
On Tue, 18 Apr 2023, "Kandpal, Suraj" wrote: > Yacoub >> ; linux-ker...@vger.kernel.org >> Subject: [PATCH v9 01/10] drm/hdcp: Add drm_hdcp_atomic_check() >> >> From: Sean Paul >> >> Move the hdcp atomic check from i915 to drm_hdcp so other drivers can use >> it. No functional changes, just clean

Re: [Intel-gfx] [PATCH v2] drm/i915/display: Increase AUX timeout for Type-C

2023-04-17 Thread Jani Nikula
On Tue, 18 Apr 2023, "Kandpal, Suraj" wrote: >> On Mon, Apr 17, 2023 at 03:25:34PM +0300, Kandpal, Suraj wrote: >> > > >> > > On Mon, Apr 17, 2023 at 02:43:25PM +0300, Kandpal, Suraj wrote: >> > > > > [...] >> > > > > Adding a non-default enable_timeout to the power well descriptor >> > > > > woul

[Intel-gfx] [PATCH] drm/dp_mst: Clear MSG_RDY flag before sending new message

2023-04-17 Thread Wayne Lin
[Why & How] The sequence for collecting down_reply/up_request from source perspective should be: Request_n->repeat (get partial reply of Request_n->clear message ready flag to ack DPRX that the message is received) till all partial replies for Request_n are received->new Request_n+1. While assemb

Re: [Intel-gfx] [PATCH] drm/i915/pps: use intel_de_rmw() for panel unlock

2023-04-17 Thread Jani Nikula
On Mon, 17 Apr 2023, Andi Shyti wrote: > Hi Jani, > > On Mon, Apr 17, 2023 at 11:57:42AM +0300, Jani Nikula wrote: >> Use rmw where needed. >> >> Signed-off-by: Jani Nikula > > Reviewed-by: Andi Shyti Thanks for the reviews, pushed to drm-intel-next. BR, Jani. -- Jani Nikula, Intel Open So

[Intel-gfx] [linux-next:master] BUILD REGRESSION 4aa1da8d99724f6c0b762b58a71cee7c5e2e109b

2023-04-17 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master branch HEAD: 4aa1da8d99724f6c0b762b58a71cee7c5e2e109b Add linux-next specific files for 20230417 Error/Warning reports: https://lore.kernel.org/oe-kbuild-all/202304102354.q4voxgte-...@intel.com Error

<    1   2