linux/drivers/gpu/drm/amd/display/dc/dce
Timur Kristóf a7dc87f344 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: b70aaf5586 ("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>
2025-10-07 14:09:06 -04:00
..
dce_abm.c
dce_abm.h
dce_audio.c
dce_audio.h
dce_aux.c drm/amd/display: Add link index in AUX and dpms 2025-09-05 17:38:40 -04:00
dce_aux.h
dce_clk_mgr.c
dce_clock_source.c drm/amd/display: To apply the adjusted DP ref clock for DP devices 2025-04-21 11:26:59 -04:00
dce_clock_source.h drm/amdgpu: add missing parameter name in dce110_clk_src_construct() declaration 2025-04-21 10:54:22 -04:00
dce_dmcu.c
dce_dmcu.h
dce_i2c.c
dce_i2c.h
dce_i2c_hw.c drm/amd/display: Incorrect 'not' operator usage 2025-08-27 13:57:50 -04:00
dce_i2c_hw.h
dce_i2c_sw.c drm/amd/display: Incorrect 'not' operator usage 2025-08-27 13:57:50 -04:00
dce_i2c_sw.h
dce_ipp.c
dce_ipp.h
dce_link_encoder.c drm/amd/display: Don't warn when missing DCE encoder caps 2025-08-18 17:04:06 -04:00
dce_link_encoder.h
dce_mem_input.c drm/amd/display: Update dc_tiling_info union to structure 2025-01-06 14:44:27 -05:00
dce_mem_input.h
dce_opp.c
dce_opp.h
dce_panel_cntl.c
dce_panel_cntl.h
dce_scl_filters.c
dce_scl_filters_old.c
dce_stream_encoder.c drm/amd/display: Fix BT2020 YCbCr limited/full range input 2025-02-19 15:14:10 -05:00
dce_stream_encoder.h
dce_transform.c drm/amd/display: Properly disable scaling on DCE6 2025-10-07 14:09:06 -04:00
dce_transform.h drm/amd/display: Properly disable scaling on DCE6 2025-10-07 14:09:06 -04:00
dmub_abm.c drm/amd/display: Add Read Histogram command header 2025-04-07 15:18:30 -04:00
dmub_abm.h
dmub_abm_lcd.c drm/amd/display: Add Support for reg inbox0 for host->DMUB CMDs 2025-04-07 15:18:37 -04:00
dmub_abm_lcd.h
dmub_hw_lock_mgr.c drm/amd/display: Use HW lock mgr for PSR1 when only one eDP 2025-03-18 14:03:46 -04:00
dmub_hw_lock_mgr.h
dmub_outbox.c
dmub_outbox.h
dmub_psr.c drm/amd/display: Add control flags to force PSR / replay 2025-08-27 13:57:49 -04:00
dmub_psr.h
dmub_replay.c drm/amd/display: Add fast sync field in ultra sleep more for DMUB 2025-09-23 10:31:35 -04:00
dmub_replay.h drm/amd/display: Revert Add HPO encoder support to Replay 2025-07-28 16:40:05 -04:00
Makefile