drm/amd/display: Prevent Diags from entering S2
authorMikita Lipski <mikita.lipski@amd.com>
Thu, 17 Jun 2021 20:17:09 +0000 (16:17 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 17:39:25 +0000 (13:39 -0400)
commit97b9c006f153fc129fef60fbd91021c8aaf8697f
treefd48b095724f84e2ddeb1ddaa4f6463bc591ea57
parent23e55639b87fb16a9f0f66032ecb57060df6c46c
drm/amd/display: Prevent Diags from entering S2

[why]
Lowering clocks when entering S2 Idle state causes DMUB to hang with
Diags.

[how]
Do not enter S2 optimization with Diags on dcn301 to prevent DMUB hang.

Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn301/vg_clk_mgr.c