linux/drivers/gpu/drm/amd/display/modules/hdcp
Wenjing Liu 201a94469f drm/amd/display: remove magic numbers in hdcp_ddc
[why]
DP doesn't have message id as the first byte of an hdcp message,
current hdcp psp unifies HDMI and DP message so that it is required
when reading DP HDCP messages in hdcp_ddc, a message id needs to be
added as the first byte of the HDCP message.
The id is currently assigned as a magic number which is not a good
coding practice.

[how]
Replace magic numbers with macro defined in hdcp headers.

Signed-off-by: Wenjing Liu <Wenjing.Liu@amd.com>
Reviewed-by: Ashley Thomas <Ashley.Thomas2@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-19 00:03:04 -04:00
..
hdcp.c drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
hdcp.h drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
hdcp1_execution.c drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
hdcp1_transition.c drm/amd/display: Workaround to do HDCP authentication twice on certain displays 2020-03-05 00:30:04 -05:00
hdcp2_execution.c drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
hdcp2_transition.c drm/amd/display: update HDCP DTM immediately after hardware programming 2020-02-12 16:01:46 -05:00
hdcp_ddc.c drm/amd/display: remove magic numbers in hdcp_ddc 2020-03-19 00:03:04 -04:00
hdcp_log.c drm/amd/display: no hdcp retry if bksv or ksv list is revoked 2020-02-12 16:01:38 -05:00
hdcp_log.h drm/amd/display: Add stay count and bstatus to HDCP log 2020-03-09 13:48:59 -04:00
hdcp_psp.c drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
hdcp_psp.h drm/amd/display: Handle revoked receivers 2020-02-12 16:01:30 -05:00
Makefile drm/amd/display: Add execution and transition states for HDCP2.2 2019-11-19 10:12:53 -05:00