mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/i915: Use a 1 second timeout for the polling vblank wait
40 msec seems like a very random number for a vblank wait timeout. Considering ~24Hz display modes are definitely a thing this seems way too low. Just bump it to a full second to match what we've been using for normal vblank waits. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patch.msgid.link/20260410150449.9699-7-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
36f1cddea7
commit
2d2c566bd1
|
|
@ -36,7 +36,7 @@ void intel_initial_plane_vblank_wait(struct intel_crtc *crtc)
|
|||
start_ts = intel_de_read(display, PIPE_FRMTMSTMP(crtc->pipe));
|
||||
|
||||
ret = poll_timeout_us(end_ts = intel_de_read(display, PIPE_FRMTMSTMP(crtc->pipe)),
|
||||
end_ts != start_ts, 1000, 40 * 1000, false);
|
||||
end_ts != start_ts, 1000, 1000 * 1000, false);
|
||||
if (ret)
|
||||
drm_warn(display->drm, "[CRTC:%d:%s] early vblank wait timed out\n",
|
||||
crtc->base.base.id, crtc->base.name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user