linux/drivers/gpu/drm/amd
Nicholas Kazlauskas 9fbe61e3c2 drm/amd/display: Explicitly specify update type per plane info change
[ Upstream commit 710cc1e7cd ]

[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: aa5fdb1ab5 ("drm/amd/display: Explicitly specify update type per plane info change")
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:21:14 +02:00
..
acp
amdgpu drm/amdgpu: Validate VM ioctl flags. 2023-07-05 18:27:38 +01:00
amdkfd drm/amdkfd: Get prange->offset after svm_range_vram_node_new 2023-04-06 12:10:58 +02:00
display drm/amd/display: Explicitly specify update type per plane info change 2023-07-19 16:21:14 +02:00
include drm/amd/amdgpu: update mes11 api def 2023-05-30 14:03:16 +01:00
pm drm/amd/pm: workaround for compute workload type on some skus 2023-06-21 16:00:56 +02:00