[PATCH] drm/vc4: Fix VBLANK handling in crtc->enable() path

Eric Anholt eric at anholt.net
Fri Jul 14 21:06:57 UTC 2017


Boris Brezillon <boris.brezillon at free-electrons.com> writes:

> When we are enabling a CRTC, drm_crtc_vblank_get() is called before
> drm_crtc_vblank_on(), which is not supposed to happen (hence the
> WARN_ON() in the code). To solve the problem, we delay the 'update
> display list' operation after the CRTC is actually enabled.

Reviewed and pushed to drm-misc-next-fixes (with a Fixes tag for the
refactor you did that made this a more prominent warning).  Sorry for
the delay!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170714/d7705b89/attachment.sig>


More information about the dri-devel mailing list