drm/amd/display: fix wrong register access
authorCharlene Liu <Charlene.Liu@amd.com>
Fri, 19 Aug 2022 00:24:26 +0000 (20:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:58:48 +0000 (17:58 -0400)
commitb1bdb5ebb06ead49456ae9f23a12c7028076f9cb
treeb40708c9abd254dc434bc1494d96940e1595aa56
parenta3cdb5d2c89c8005f50cd4c80c1dc75690e5fc96
drm/amd/display: fix wrong register access

[why]
fw version check was for release branch.
for staging, it has a chance to enter wrong code path.

Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dio_link_encoder.c
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_dio_stream_encoder.c