aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorLeo Li <[email protected]>2021-11-04 23:41:55 +0000
committerAlex Deucher <[email protected]>2022-07-25 21:18:08 +0000
commitc13423c63f73ee2f9807fdb2a3a7e647421a8114 (patch)
treeada707b14b5965915699fb66a3e6072a91d1c6ca /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amd/display: Add debug option for idle optimizations on cursor updates (diff)
downloadkernel-c13423c63f73ee2f9807fdb2a3a7e647421a8114.tar.gz
kernel-c13423c63f73ee2f9807fdb2a3a7e647421a8114.zip
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 <[email protected]> Signed-off-by: Leo Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions