]> www.infradead.org Git - users/hch/dma-mapping.git/commit
drm/amd/display: Add debug option to skip PSR CRTC disable
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Fri, 25 Nov 2022 16:30:38 +0000 (11:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Dec 2022 15:16:54 +0000 (10:16 -0500)
commit00812bfc7bcb02faf127ee05f6ac27a5581eb701
tree4fd8f030e6584527a52910f8e2d1e281d10da5b8
parent6f0bf2dbdd28391ea349516ebdd855fcc799581c
drm/amd/display: Add debug option to skip PSR CRTC disable

[Why]
It's currently tied to Z10 support, and is required for Z10, but
we can still support Z10 display off without PSR.

We currently need to skip the PSR CRTC disable to prevent stuttering
and underflow from occuring during PSR-SU.

[How]
Add a debug option to allow specifying this separately.

Reviewed-by: Robin Chen <robin.chen@amd.com>
Acked-by: Stylon Wang <stylon.wang@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>
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c