diff options
author | Tom Chung <chiahsuan.chung@amd.com> | 2023-02-01 17:37:51 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-14 16:04:17 -0500 |
commit | d6ed6d0d2aa8f238ca20ed03f24355336ff77dff (patch) | |
tree | 2a8291935770b21b4a8c0e990f667e037aa09061 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | e54b214946136ba773fbce9a3b8b4d1ab9d0ad77 (diff) | |
download | linux-d6ed6d0d2aa8f238ca20ed03f24355336ff77dff.tar.gz linux-d6ed6d0d2aa8f238ca20ed03f24355336ff77dff.tar.bz2 linux-d6ed6d0d2aa8f238ca20ed03f24355336ff77dff.zip |
drm/amd/display: Fix video glitch while drag window in PSR-SU
[Why]
Dmub will cache the video position data during PSR-SU enable.
The dmub will use an outdated MPO video position if user try
to drag the video window and it will cause video glitch.
[How]
Disable the PSR-SU temporarily while user drag the video window.
The PSR-SU will be re-enabled after the video window is stable.
Reviewed-by: Sun peng Li <Sunpeng.Li@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@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/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions