mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-07 14:19:35 +00:00
![]() [WHY & HOW] IPS & self-fresh feature can cause vblank counter resets between vblank disable and enable. It may cause system stuck due to wait the vblank counter. Call the drm_crtc_vblank_restore() during vblank enable to estimate missed vblanks by using timestamps and update the vblank counter in DRM. It can make the vblank counter increase smoothly and resolve this issue. Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com> Signed-off-by: Tom Chung <chiahsuan.chung@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 34d66bc7ff10e146a4cec76cf286979740a10954) Cc: stable@vger.kernel.org |
||
---|---|---|
.. | ||
amdgpu_dm_color.c | ||
amdgpu_dm_crc.c | ||
amdgpu_dm_crc.h | ||
amdgpu_dm_crtc.c | ||
amdgpu_dm_crtc.h | ||
amdgpu_dm_debugfs.c | ||
amdgpu_dm_debugfs.h | ||
amdgpu_dm_hdcp.c | ||
amdgpu_dm_hdcp.h | ||
amdgpu_dm_helpers.c | ||
amdgpu_dm_irq_params.h | ||
amdgpu_dm_irq.c | ||
amdgpu_dm_irq.h | ||
amdgpu_dm_mst_types.c | ||
amdgpu_dm_mst_types.h | ||
amdgpu_dm_plane.c | ||
amdgpu_dm_plane.h | ||
amdgpu_dm_pp_smu.c | ||
amdgpu_dm_psr.c | ||
amdgpu_dm_psr.h | ||
amdgpu_dm_quirks.c | ||
amdgpu_dm_replay.c | ||
amdgpu_dm_replay.h | ||
amdgpu_dm_services.c | ||
amdgpu_dm_trace.h | ||
amdgpu_dm_wb.c | ||
amdgpu_dm_wb.h | ||
amdgpu_dm.c | ||
amdgpu_dm.h | ||
dc_fpu.c | ||
dc_fpu.h | ||
Makefile |