drm/amd/display: Disable idle optimization when PSR is enabled
authorZhan Liu <zhan.liu@amd.com>
Fri, 28 Aug 2020 18:18:56 +0000 (14:18 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Sep 2020 21:52:41 +0000 (17:52 -0400)
commit48e48e5984782171ac8d2ec09b7e688e141d7c86
treeb26bd4317d68f07f562a99c909c3382d8f5a4823
parentbd80d584cd8e2502b6be48544a14970016c86aa4
drm/amd/display: Disable idle optimization when PSR is enabled

[Why]
Idle optimization and PSR conflict each other. If both enabled
at the same time, display flickering will be observed.

[How]
Disable idle optimization when PSR is enabled.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_hwseq.c