drm/amd/display: Update TX masks correctly
authorAlvin Lee <alvin.lee2@amd.com>
Wed, 22 Jan 2020 19:56:35 +0000 (14:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Feb 2020 16:02:41 +0000 (11:02 -0500)
commit8885b09c47ab172eb869dfa9a78269cdf3f40533
tree9d0ffea8b720ec28c1de8da57e2d3453dc4e014b
parent1019ddfbb2bca00af5a134923f326065c34a7c4b
drm/amd/display: Update TX masks correctly

[Why]
Bugs occur when TX interrupt comes in when no USB-C on board.

[How]
Check PHY for USB-C before enabling TX interrupt in DMCU FW.

Signed-off-by: Alvin Lee <alvin.lee2@amd.com>
Reviewed-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c