]> www.infradead.org Git - nvme.git/commit
drm/i915/hdcp: Allocate stream id after HDCP AKE stage
authorSuraj Kandpal <suraj.kandpal@intel.com>
Mon, 26 Feb 2024 06:30:51 +0000 (12:00 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Tue, 27 Feb 2024 07:50:20 +0000 (13:20 +0530)
commit66bd692404a6284ee2cf85968a4018cf212398be
treeae2ad67c73035d2a2f4991351d7a947cd580399d
parent483f7d94a0453564ad9295288c0242136c5f36a0
drm/i915/hdcp: Allocate stream id after HDCP AKE stage

Allocate stream id after HDCP AKE stage and not before so that it
can also be done during link integrity check.
Right now for MST scenarios LIC fails after hdcp enablement for this
reason.

--v2
-no need for else block in prepare_streams function [Ankit]

--v3
-remove intel_hdcp argument from required_content_stream function
[Ankit]

Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240226063051.1685326-6-suraj.kandpal@intel.com
drivers/gpu/drm/i915/display/intel_hdcp.c