summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorTimur Kristóf <timur.kristof@gmail.com>2025-09-25 20:45:24 +0200
committerAlex Deucher <alexander.deucher@amd.com>2025-10-07 14:09:06 -0400
commita7dc87f3448bea5ebe054f14e861074b9c289c65 (patch)
treeffed508205e636ac9d01ce0cbd05350a1cabcc93 /include/linux/overflow.h
parentc0aa7cf49dd6cb302fe28e7183992b772cb7420c (diff)
drm/amd/display: Properly disable scaling on DCE6
SCL_SCALER_ENABLE can be used to enable/disable the scaler on DCE6. Program it to 0 when scaling isn't used, 1 when used. Additionally, clear some other registers when scaling is disabled and program the SCL_UPDATE register as recommended. This fixes visible glitches for users whose BIOS sets up a mode with scaling at boot, which DC was unable to clean up. Fixes: b70aaf5586f2 ("drm/amd/display: dce_transform: add DCE6 specific macros,functions") Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions