linux/drivers/gpu/drm/amd/display/modules
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
..
color drm/amd/display: Refactor to remove diags specific rgam func 2020-01-22 16:55:27 -05:00
freesync drm/amd/display: Only round InfoFrame refresh rates 2020-02-25 11:04:01 -05:00
hdcp drm/amd/display: remove magic numbers in hdcp_ddc 2020-03-19 00:03:04 -04:00
inc drm/amd/display: Remove redundant hdcp display state 2020-03-19 00:03:04 -04:00
info_packet drm/amd/display: set MSA MISC1 bit 6 while sending colorimetry in VSC SDP 2019-11-13 15:29:43 -05:00
power drm/amd/display: implement fw-driver interface for abm 2.4 2020-01-16 14:15:49 -05:00
stats drm/amd/display: remove redundant null pointer check before kfree 2018-09-26 21:09:12 -05:00
vmid drm/amd/display: System crashes when add_ptb_to_table() gets called 2020-02-25 11:03:54 -05:00