diff options
| author | Evan Quan <[email protected]> | 2021-11-05 07:25:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-11-22 19:45:02 +0000 |
| commit | 6c08e0ef87b8b4c1c243719a561c354e893c415d (patch) | |
| tree | cc8e1fc95ab7168c49921d6cc000d03b7e748aad /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amd/display: Revert "retain/release stream pointer in link enc table" (diff) | |
| download | kernel-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
