aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
diff options
context:
space:
mode:
authorAlvin Lee <Alvin.Lee2@amd.com>2023-01-05 10:46:47 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-01-24 12:25:35 -0500
commit174a05af39175bdf59bf50bd1c599384514e1dae (patch)
treeaaa0956d9bc9bcf9097b78088cbfc970fdcc3676 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
parentdrm/amd/display: Guard Freesync HDMI parsing with dc_lock (diff)
downloadlinux-rng-174a05af39175bdf59bf50bd1c599384514e1dae.tar.xz
linux-rng-174a05af39175bdf59bf50bd1c599384514e1dae.zip
drm/amd/display: Allow idle optimization after turning off all pipes
[Why] In certain D3 cases (BOCO / BOMACO) the hardware is reset but software state still has idle_optimizations = true. This prevents us from entering idle optimizations again if no display is connected. [How] In hw init, reset the idle optimization state, and allow idle optimizations after all pipes have been turned off. Reviewed-by: Jun Lei <Jun.Lei@amd.com> Acked-by: Alan Liu <HaoPing.Liu@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c')
0 files changed, 0 insertions, 0 deletions