diff options
author | Wenjing Liu <[email protected]> | 2020-02-28 12:16:07 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-03-19 00:03:04 -0400 |
commit | 201a94469fa914e674f73fef446fc9cad02fb00c (patch) | |
tree | 2579d6f782db57431fa55e9d28a263233954398f /scripts/gdb/linux/utils.py | |
parent | 8defa1a3f7c6a7f4628396ec15f10950ef0ce790 (diff) |
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 <[email protected]>
Reviewed-by: Ashley Thomas <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions