[PATCH v2] drm/imx: correct order of crtc disable
Philipp Zabel
p.zabel at pengutronix.de
Wed Jun 19 11:53:10 UTC 2019
On Wed, 2019-06-19 at 12:41 +0100, Robert Beckett wrote:
> Notify drm core before sending pending events during crtc disable.
> This fixes the first event after disable having an old stale timestamp
> by having drm_crtc_vblank_off update the timestamp to now.
>
> This was seen while debugging weston log message:
> Warning: computed repaint delay is insane: -8212 msec
>
> Also only send pending event if crtc is kept disabled, otherwise it will
> be sent on next vlblank.
>
> Fixes: a474478642d5 ("drm/imx: fix crtc vblank state regression")
Thank you, applied to imx-drm/fixes.
regards
Philipp
More information about the dri-devel
mailing list