[PATCH] drm: vc4: Don't wait for vblank when updating the cursor

Eric Anholt eric at anholt.net
Tue Feb 28 20:55:51 UTC 2017


Michael Zoran <mzoran at crowfest.net> writes:

> Commonly used desktop environments such as xfce4 and gnome
> on debian sid can flood the graphics drivers with cursor
> updates.  Because the current implementation is waiting
> for a vblank between cursor updates, this will cause the
> display to hang for a long time since a typical refresh
> rate is only 60Hz.
>
> This is unnecessary and unexpected by user mode software,
> so simply swap out the cursor frame buffer without waiting.
>
> Signed-off-by: Michael Zoran <mzoran at crowfest.net>

Reviewed and pushed to drm-misc-next.  Thanks!
-------------- 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/20170228/d53d58c8/attachment.sig>


More information about the dri-devel mailing list