drm/amd/display: use drm defines for MAX CASCADE MASK
authorBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Thu, 24 Oct 2019 20:07:43 +0000 (16:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:53 +0000 (10:12 -0500)
commit1c40428ace2eba5144b3f13f91df4a0c0422c68d
tree1a0db796524284822fe580e677d0ab7024f0bfe7
parent02837a91ae7584e2ac13df816bd0e82bc71ebe73
drm/amd/display: use drm defines for MAX CASCADE MASK

[Why]
drm already has this define

[How]
drm Mask is 0x08 vs 0x0800. The reason is because drm mask
works on a byte.        ^^
                 =======||
                 ||
Since the first byte is always zero we can ignore it and only check the
second byte.

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