]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: add and use defines from drm_hdcp.h
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Mon, 21 Oct 2019 18:40:55 +0000 (14:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:53 +0000 (10:12 -0500)
commit3d23d575396806583c9640af392d91acc02d4f97
tree249e96146597c1cfe70a55391c7b06b5bcb15b6e
parentd1ebc8fb71472f9ac9199739f50c982f0f173492
drm/amd/display: add and use defines from drm_hdcp.h

[Why]
These defines/macros exist already no need to redefine them

[How]
Use the defines/macros from drm_hdcp.h

-we share the rxstatus between HDMI and DP (2 bytes), But upstream
defines/macros for HDMI are for 1 byte. So we need to create a separate
rxstatus for HDMI

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>
drivers/gpu/drm/amd/display/modules/hdcp/hdcp.h
drivers/gpu/drm/amd/display/modules/hdcp/hdcp1_execution.c
drivers/gpu/drm/amd/display/modules/hdcp/hdcp2_execution.c