]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: skip crtc power down when ips switch
authorFudong Wang <Fudong.Wang@amd.com>
Thu, 25 Jul 2024 08:48:25 +0000 (16:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Aug 2024 15:11:02 +0000 (11:11 -0400)
[Why & How]
Add a dc debug option to keep crtc on when ips switch.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Fudong Wang <Fudong.Wang@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc.h

index 95b0413e9f171e9e6e7747fbc6b09d34118e1a06..b6a5ea93fd4502153cd05ce4374273ea4a38ba57 100644 (file)
@@ -979,6 +979,7 @@ struct dc_debug_options {
        bool disable_z10;
        bool enable_z9_disable_interface;
        bool psr_skip_crtc_disable;
+       uint32_t ips_skip_crtc_disable_mask;
        union dpia_debug_options dpia_debug;
        bool disable_fixed_vs_aux_timeout_wa;
        uint32_t fixed_vs_aux_delay_config_wa;