diff options
| author | Ivan Lipski <[email protected]> | 2025-06-19 22:14:52 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-06-30 15:59:29 +0000 |
| commit | 99e25e4683d7cfdf79dcc328e11bb6c924c77566 (patch) | |
| tree | 698abb6bcff6fe4239b9adb2f9b8a19bb4170181 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h | |
| parent | drm/amd/display: Fix Link Override Sequencing When Switching Between DIO/HPO (diff) | |
| download | kernel-99e25e4683d7cfdf79dcc328e11bb6c924c77566.tar.gz kernel-99e25e4683d7cfdf79dcc328e11bb6c924c77566.zip | |
drm/amd/display: Add DPP & HUBP reset if power gate enabled on DCN314
[WHY]
On DCN314, using full screen application with enabled scaling like 150%,
175%, with overlay cursor, causes a second cursor to appear when changing
planes. Dpp cache is used to track the HW cursor enable. Since power gate
is disabled for hubp & dpp in DCN314, dpp_reset() zero'ed the dpp struct,
while the dpp hardware was not power gated.
So, when plane is changed in a full screen app, and the overlay cursor is
enabled, the cache is cleared, so the cache does not represent the actual
cursor state.
[HOW]
Added conditionals for dpp & hubp reset and their pg_control functions
only if according power_gate flags are enabled.
Reviewed-by: Sun peng Li <[email protected]>
Signed-off-by: Ivan Lipski <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h')
0 files changed, 0 insertions, 0 deletions
