[Intel-gfx] [PATCH] drm/i915/gt: drop dependency on VLV_DISPLAY_BASE

2023-05-11 Thread Jani Nikula
CHV_FUSE_GT (0x182168) is purely about GT fuses, therefore belongs in intel_gt_regs.h, is in the gcfgmmio unit, but is technically in the VLV display base area. Use the 0x182168 MMIO address directly to drop dependency on VLV_DISPLAY_BASE and thus display/intel_display_reg_defs.h in

[Intel-gfx] [PATCH] drm/i915/hdcp: drop display/ prefix from include

2023-05-11 Thread Jani Nikula
The display prefix is unnecessary within the display sub-directory. Cc: Alan Previn Cc: Suraj Kandpal Cc: Uma Shankar Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_hdcp_gsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Intel-gfx] [PATCH] drm/i915/display: Fix a use-after-free when intel_edp_init_connector fails

2023-05-11 Thread Jani Nikula
On Tue, 20 Dec 2022, Imre Deak wrote: > On Tue, Dec 20, 2022 at 02:40:47PM +0200, Jani Nikula wrote: >> On Tue, 20 Dec 2022, Maarten Lankhorst >> wrote: >> > We enable the DP aux channel during probe, but may free the connector >> > soon afterwards. Ensure the DP aux display power put is

Re: [Intel-gfx] [PATCH] drm/i915: Remove i915_drm_suspend_mode

2023-05-11 Thread Jani Nikula
On Tue, 10 Jan 2023, Rodrigo Vivi wrote: > On Tue, Jan 10, 2023 at 11:59:02AM +0100, Maarten Lankhorst wrote: >> enum i915_drm_suspend_mode suspend_mode is only used in >> intel_display_power, while we only care about whether we perform a >> s2idle. Remove it and use a simple bool. >> >>

[Intel-gfx] [PATCH 3/3] drm/i915/selftests: add local workqueue for SW fence selftest

2023-05-11 Thread Luca Coelho
Instead of using a global workqueue for the SW fence selftest, allocate a separate one temporarily only while running the test. Cc: Tetsuo Handa Cc: Tvrtko Ursulin Cc: Jani Nikula Cc: Ville Syrjälä Signed-off-by: Luca Coelho --- drivers/gpu/drm/i915/selftests/i915_sw_fence.c | 16

[Intel-gfx] [PATCH 2/3] drm/i915/gt: create workqueue dedicated to wake references

2023-05-11 Thread Luca Coelho
Add a work queue in the intel_wakeref structure to be used exclusively by the wake reference mechanism. This is needed in order to avoid using the system workqueue and relying on flush_scheduled_work(). Cc: Tetsuo Handa Cc: Tvrtko Ursulin Cc: Jani Nikula Cc: Ville Syrjälä Signed-off-by: Luca

[Intel-gfx] [PATCH 0/3] drm/i915: implement internal workqueues

2023-05-11 Thread Luca Coelho
Hi, This series implements internal workqueues in the i915 driver in order to avoid using the system queue. We add one generic workqueue in the drm_i915_private structure, one specific for wake references and one in a self-test. This is based on Tetsuo's work[1] and is required to get rid of

[Intel-gfx] [PATCH 1/3] drm/i915: add a dedicated workqueue inside drm_i915_private

2023-05-11 Thread Luca Coelho
In order to avoid flush_scheduled_work() usage, add a dedicated workqueue in the drm_i915_private structure. In this way, we don't need to use the system queue anymore. This change is mostly mechanical and based on Tetsuo's original patch[1]. Link:

[Intel-gfx] ✗ Fi.CI.IGT: failure for Fix modeset locking issue in HDCP MST

2023-05-11 Thread Patchwork
== Series Details == Series: Fix modeset locking issue in HDCP MST URL : https://patchwork.freedesktop.org/series/117615/ State : failure == Summary == CI Bug Log - changes from CI_DRM_13131_full -> Patchwork_117615v1_full Summary ---

Re: [Intel-gfx] [PULL] drm-misc-fixes

2023-05-11 Thread Thomas Zimmermann
A friendly ping to merge this PR. The patches appear to be missing from drm-fixes. Am 26.04.23 um 07:59 schrieb Maarten Lankhorst: Hi Dave, Daniel, drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next ~Maarten drm-misc-fixes-2023-04-26: drm-misc-fixes for v6.4-rc1: -

Re: [Intel-gfx] [PATCH 1/2] drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function

2023-05-11 Thread Jani Nikula
On Thu, 11 May 2023, Suraj Kandpal wrote: > Pass all the parameter in intel_encoder->enable() > to intel_hdcp_enable as we need intel_atomic_state > later down to get acquire_ctx. You're passing connector, not encoder, though. BR, Jani. > > Cc: Jani Nikula > Cc: Ankit Nautiyal >

Re: [Intel-gfx] [PATCH 1/2] drm/fourcc: define Intel Meteorlake related ccs modifiers

2023-05-11 Thread Juha-Pekka Heikkila
On 10.5.2023 16.15, Jani Nikula wrote: On Tue, 09 May 2023, Juha-Pekka Heikkila wrote: Add Tile4 type ccs modifiers with aux buffer needed for MTL Please send this Cc: dri-devel too. Sure, I'll resend shortly. Here I just didn't want to spam dri-devel since from original set this patch is

Re: [Intel-gfx] [PATCH v2 7/7] drm/i915: Define more PS_CTRL bits

2023-05-11 Thread Luca Coelho
On Wed, 2023-04-26 at 16:50 +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > To avoid annoying spec lookups let's define more PS_CTRL > bits in the header. > > Signed-off-by: Ville Syrjälä > --- > drivers/gpu/drm/i915/i915_reg.h | 11 +++ > 1 file changed, 11 insertions(+) > >

[Intel-gfx] [PULL] drm-misc-next

2023-05-11 Thread Maxime Ripard
Hi, Here's the first drm-misc-next PR for 6.5 Please note that I'll be off for about a month starting next week, and Thomas has kindly agreed to fill in. Thanks! Maxime drm-misc-next-2023-05-11: drm-misc-next for 6.5: UAPI Changes: Cross-subsystem Changes: - arch: Consolidate Core

Re: [Intel-gfx] [PATCH v10 05/22] kvm/vfio: Accept vfio device file from userspace

2023-05-11 Thread Cédric Le Goater
On 4/26/23 17:03, Yi Liu wrote: This defines KVM_DEV_VFIO_FILE* and make alias with KVM_DEV_VFIO_GROUP*. Old userspace uses KVM_DEV_VFIO_GROUP* works as well. Reviewed-by: Jason Gunthorpe Reviewed-by: Kevin Tian Tested-by: Terrence Xu Tested-by: Nicolin Chen Tested-by: Matthew Rosato

[Intel-gfx] ✓ Fi.CI.BAT: success for Fix modeset locking issue in HDCP MST

2023-05-11 Thread Patchwork
== Series Details == Series: Fix modeset locking issue in HDCP MST URL : https://patchwork.freedesktop.org/series/117615/ State : success == Summary == CI Bug Log - changes from CI_DRM_13131 -> Patchwork_117615v1 Summary ---

[Intel-gfx] ✓ Fi.CI.IGT: success for series starting with [1/2] drm/i915/mtl: Extend Wa_16014892111 to MTL

2023-05-11 Thread Patchwork
== Series Details == Series: series starting with [1/2] drm/i915/mtl: Extend Wa_16014892111 to MTL URL : https://patchwork.freedesktop.org/series/117607/ State : success == Summary == CI Bug Log - changes from CI_DRM_13131_full -> Patchwork_117607v1_full

<    1   2