aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorNicholas Kazlauskas <[email protected]>2019-05-02 17:21:48 +0000
committerAlex Deucher <[email protected]>2023-04-21 12:50:21 +0000
commit710cc1e7cd461446a9325c9bd1e9a54daa462952 (patch)
treec31ec24d8cad67f371ea4c1f803cbe5bd5795c9e /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/amd/display: fix dpms_off issue when disabling bios mode (diff)
downloadkernel-710cc1e7cd461446a9325c9bd1e9a54daa462952.tar.gz
kernel-710cc1e7cd461446a9325c9bd1e9a54daa462952.zip
drm/amd/display: Explicitly specify update type per plane info change
[Why] The bit for flip addr is being set causing the determination for FAST vs MEDIUM to always return MEDIUM when plane info is provided as a surface update. This causes extreme stuttering for the typical atomic update path on Linux. [How] Don't use update_flags->raw for determining FAST vs MEDIUM. It's too fragile to changes like this. Explicitly specify the update type per update flag instead. It's not as clever as checking the bits itself but at least it's correct. Fixes: aa5fdb1ab5b6 ("drm/amd/display: Explicitly specify update type per plane info change") Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Nicholas Kazlauskas <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions