public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v3 0/4] Fix modeset locking issue in HDCP MST
@ 2023-05-15  5:15 Suraj Kandpal
  2023-05-15  5:15 ` [Intel-gfx] [PATCH v3 1/4] drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function Suraj Kandpal
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Suraj Kandpal @ 2023-05-15  5:15 UTC (permalink / raw)
  To: intel-gfx

HDCP MST scenario sees modeset locking issue ever since
topology_state was added to drm_atomic_state and all modeset
locks were being taken for us causing a locking issue to occur
when we iterate over connectors to assign vcpi id, the fix
being to pass acquire_ctx to drm_modeset_lock. 

--v2
-call intel_hdcp_prepare_stream instead of intel_hdcp_required_stream
in the beginning [Ankit]
-replace intel_connector argument with intel_encoder [Jani]

--v3
-break intel_hdcp_required_stream to two parts and call
intel_hdcp_set_content_streams at beginning [Ankit]
-Move encoder_type0 out of loop [Ankit]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>


Suraj Kandpal (4):
  drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function
  drm/i915/hdcp: Remove enforce_type0 check outside loop
  drm/i915/hdcp: Fix modeset locking issue in hdcp mst
  drm/i915/hdcp: Fill hdcp2_streamid_type and k in appropriate places

 drivers/gpu/drm/i915/display/intel_ddi.c    |  4 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  4 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c   | 91 +++++++++++++--------
 drivers/gpu/drm/i915/display/intel_hdcp.h   |  6 +-
 4 files changed, 62 insertions(+), 43 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-05-15 10:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-15  5:15 [Intel-gfx] [PATCH v3 0/4] Fix modeset locking issue in HDCP MST Suraj Kandpal
2023-05-15  5:15 ` [Intel-gfx] [PATCH v3 1/4] drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function Suraj Kandpal
2023-05-15  9:46   ` Jani Nikula
2023-05-15  5:15 ` [Intel-gfx] [PATCH v3 2/4] drm/i915/hdcp: Remove enforce_type0 check outside loop Suraj Kandpal
2023-05-15  9:46   ` Jani Nikula
2023-05-15  5:15 ` [Intel-gfx] [PATCH v3 3/4] drm/i915/hdcp: Fix modeset locking issue in hdcp mst Suraj Kandpal
2023-05-15 10:00   ` Jani Nikula
2023-05-15 10:10   ` Nautiyal, Ankit K
2023-05-15  5:15 ` [Intel-gfx] [PATCH v3 4/4] drm/i915/hdcp: Fill hdcp2_streamid_type and k in appropriate places Suraj Kandpal
2023-05-15 10:16   ` Nautiyal, Ankit K
2023-05-15  6:06 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Fix modeset locking issue in HDCP MST (rev3) Patchwork
2023-05-15  6:19 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox