[Intel-gfx] [PATCH v2 0/2] Fix modeset locking issue in HDCP MST

Suraj Kandpal suraj.kandpal at intel.com
Thu May 11 09:56:48 UTC 2023


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]

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

Suraj Kandpal (2):
  drm/i915/hdcp: add intel_atomic_state argument to hdcp_enable function
  drm/i915/hdcp: Fix modeset locking issue in hdcp mst

 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   | 55 ++++++++++-----------
 drivers/gpu/drm/i915/display/intel_hdcp.h   |  6 ++-
 4 files changed, 32 insertions(+), 37 deletions(-)

-- 
2.25.1



More information about the Intel-gfx mailing list