OSDN Git Service

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)
commit02837a91ae7584e2ac13df816bd0e82bc71ebe73
tree249e96146597c1cfe70a55391c7b06b5bcb15b6e
parent45375a501f1387567cccd4bbd78d6bbea8d5b68c
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