bianbu-linux-6.6/drivers/gpu/drm/amd
Bhawanpreet Lakha 53e108aa99 drm/amd/display: Handle hdcp2.2 type0/1 in dm
[Why]
HDCP 2.2 uses type0 and type1 content type. This is passed to the receiver
to stream the proper content.

For example, in a MST case if the main
device is HDCP2.2 capable but the secondary device is only 1.4 capabale
we can use Type0

Type0 content: use HDCP 1.4 or HDCP2.2 type0
Type1 content: Only use HDCP 2.2 type1

[How]
We use the "hdcp content type" property in drm. We use the
disable_type1 flag in hdcp module to select the type based on the
properties.

For updating the property we use the same logic as 1.4, but now we
consider content_type as well and update the property if the
requirements are met

Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-11-19 10:12:53 -05:00
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/nv: add asic func for fetching vbios from rom directly 2019-11-19 10:12:51 -05:00
amdkfd drm/amdkfd: remove set but not used variable 'top_dev' 2019-11-19 10:12:51 -05:00
display drm/amd/display: Handle hdcp2.2 type0/1 in dm 2019-11-19 10:12:53 -05:00
include drm/amdgpu: add JPEG PG and CG interface 2019-11-19 10:12:50 -05:00
powerplay drm/amd/powerplay: correct fine grained dpm force level setting 2019-11-19 10:12:51 -05:00