OSDN Git Service

drm/amd/display: Don't apply FIFO resync W/A if rdivider = 0
authorAlvin Lee <alvin.lee2@amd.com>
Wed, 12 Jul 2023 21:22:25 +0000 (17:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jul 2023 17:39:47 +0000 (13:39 -0400)
commit95aafbc1a567ef027a5805f759dca7c942980616
treeb4e49d99cedc6b753ef3a2f5010b9344e1b6b888
parent75bd42fd2e8ef81e98418ffd06362169cbeebc06
drm/amd/display: Don't apply FIFO resync W/A if rdivider = 0

[Description]
It is not valid to set the WDIVIDER value to 0, so do not
re-write to DISPCLK_WDIVIDER if the current value is 0
(i.e., it is at it's initial value and we have not made any
requests to change DISPCLK yet).

Reviewed-by: Saaem Rizvi <syedsaaem.rizvi@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Alvin Lee <alvin.lee2@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/dcn32/dcn32_dccg.c