aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2021-11-05 07:25:30 +0000
committerAlex Deucher <[email protected]>2021-11-22 19:45:02 +0000
commit6c08e0ef87b8b4c1c243719a561c354e893c415d (patch)
treecc8e1fc95ab7168c49921d6cc000d03b7e748aad /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amd/display: Revert "retain/release stream pointer in link enc table" (diff)
downloadkernel-6c08e0ef87b8b4c1c243719a561c354e893c415d.tar.gz
kernel-6c08e0ef87b8b4c1c243719a561c354e893c415d.zip
drm/amd/pm: avoid duplicate powergate/ungate setting
Just bail out if the target IP block is already in the desired powergate/ungate state. This can avoid some duplicate settings which sometimes may cause unexpected issues. Link: https://lore.kernel.org/all/[email protected]/ Bug: https://bugzilla.kernel.org/show_bug.cgi?id=214921 Bug: https://bugzilla.kernel.org/show_bug.cgi?id=215025 Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1789 Signed-off-by: Evan Quan <[email protected]> Tested-by: Borislav Petkov <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions