Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/2] drm/i915/hdcp: Additional conditions to enable hdcp
@ 2023-10-26  7:15 Suraj Kandpal
  2023-10-26  7:15 ` [Intel-gfx] [PATCH 1/2] drm/i915/hdcp: Create a blanket hdcp enable function Suraj Kandpal
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Suraj Kandpal @ 2023-10-26  7:15 UTC (permalink / raw)
  To: intel-gfx

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 patch refactors the code while the second one adds the
new conditions to enable hdcp.

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

Suraj Kandpal (2):
  drm/i915/hdcp: Create a blanket hdcp enable 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   | 21 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_hdcp.h   |  4 ++++
 4 files changed, 27 insertions(+), 8 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-10-26  8:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-26  7:15 [Intel-gfx] [PATCH 0/2] drm/i915/hdcp: Additional conditions to enable hdcp Suraj Kandpal
2023-10-26  7:15 ` [Intel-gfx] [PATCH 1/2] drm/i915/hdcp: Create a blanket hdcp enable function Suraj Kandpal
2023-10-26  7:32   ` Jani Nikula
2023-10-26  7:40     ` Kandpal, Suraj
2023-10-26  7:54       ` Jani Nikula
2023-10-26  7:15 ` [Intel-gfx] [PATCH 2/2] drm/i915/hdcp: Add more conditions to enable hdcp Suraj Kandpal
2023-10-26  8:07 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/hdcp: Additional conditions to enable hdcp (rev2) Patchwork
2023-10-26  8:21 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork

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