]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amd/display: Restore full update for tiling change to linear
authorJoshua Aberback <joshua.aberback@amd.com>
Thu, 12 Mar 2026 22:33:49 +0000 (18:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Mar 2026 18:16:13 +0000 (14:16 -0400)
commit3967ab83a5075c05be3c614f1dc8460f66ee77ad
treefb7c3952c63296d5707fc44137631308764ecd9b
parent94cd4c4d71e67e84c713492c5eea6c2370601bf2
drm/amd/display: Restore full update for tiling change to linear

[Why]
There was previously a dc debug flag to indicate that tiling
changes should only be a medium update instead of full. The
function get_plane_info_type was refactored to not rely on dc
state, but in the process the logic was unintentionally changed,
which leads to screen corruption in some cases.

[How]
 - add flag to tiling struct to avoid full update when necessary

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Signed-off-by: Chuanyu Tseng <chuanyu.tseng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc_hw_types.h