Skip to content

drm/i915/hdcp: Additional conditions to enable hdcp

Suraj Kandpal intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/i915/hdcp: Rename HCDP 1.4 enablement functiondrivers/gpu/drm/i915/display/intel_hdcp.c+3 -30 replies
2/3drm/i915/hdcp: Convert intel_hdcp_enable to a blanket functiondrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp_mst.c drivers/gpu/drm/i915/display/intel_hdcp.c +1 more+22 -170 replies
2/3drm/i915/hdcp: Create a blanket hdcp enable functiondrivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp_mst.c drivers/gpu/drm/i915/display/intel_hdcp.c +1 more+22 -172 replies
3/3drm/i915/hdcp: Add more conditions to enable hdcpdrivers/gpu/drm/i915/display/intel_hdcp.c+12 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Intel-gfx] [PATCH 0/3] drm/i915/hdcp: Additional conditions to enable hdcp

We are seeing a issue when we close the lid of a laptop or dock a monitor hdcp content is not being reenabled automatically this is because when we dock a monitor we end up with a enable and disable connector cycle but if hdcp content is running we get the userspace in enabled state and driver maintaining a undesired state which causes the content to stop playing and we only enabe hdcp if the userspace state in desired.
This first and second patch refactors the code while the third one adds the new conditions to enable hdcp.

Suraj Kandpal (3):
drm/i915/hdcp: Rename HCDP 1.4 enablement function drm/i915/hdcp: Convert intel_hdcp_enable to a blanket function drm/i915/hdcp: Add more conditions to enable hdcp

 drivers/gpu/drm/i915/display/intel_ddi.c    |  5 +--
 drivers/gpu/drm/i915/display/intel_dp_mst.c |  5 +--
 drivers/gpu/drm/i915/display/intel_hdcp.c   | 37 ++++++++++++++++-----
 drivers/gpu/drm/i915/display/intel_hdcp.h   |  8 ++---
 4 files changed, 35 insertions(+), 20 deletions(-)
Signature · 1 line
2.25.1