1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/display
Leo Li c13423c63f drm/amd/display: Copy crc_skip_count when duplicating CRTC state
[Why]

crc_skip_count is used to track how many frames to skip to allow the OTG
CRC engine to "warm up" before it outputs correct CRC values.
Experimentally, this seems to be 2 frames.

When duplicating CRTC states, this value was not copied to the
duplicated state. Therefore, when this state is committed, we will
needlessly wait 2 frames before outputing CRC values. Even if the CRC
engine is already warmed up.

[How]

Copy the crc_skip_count as part of dm_crtc_duplicate_state.

Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-07-25 17:18:08 -04:00
..
amdgpu_dm drm/amd/display: Copy crc_skip_count when duplicating CRTC state 2022-07-25 17:18:08 -04:00
dc drm/amd/display: Add debug option for idle optimizations on cursor updates 2022-07-25 17:18:02 -04:00
dmub drm/amd/display: Add support for manual DMUB FAMS trigger 2022-07-25 17:17:15 -04:00
include drm/amd/display: Add DCN314 version identifiers 2022-07-13 20:57:05 -04:00
modules drm/amd/display: Disable PSRSU when DSC enabled on the specific sink 2022-07-12 16:50:29 -04:00
Kconfig drm/amd/display: Enable building new display engine with KCOV enabled 2022-07-18 16:42:38 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00