[Bug 109332] xf86-video-amdgpu - commit 0d60233d introduced stuttering with mouse cursor operations
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 14 13:33:45 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=109332
--- Comment #2 from Nicholas Kazlauskas <nicholas.kazlauskas at amd.com> ---
In this case it's not actually the mouse operations themselves causing the
stuttering but the framebuffer change. This is a known limitation with the
async plane updates API in DRM and not something we can really fix in DC until
there's a better API for async updates.
The page-flip IOCTL advertises itself as non-blocking but in reality it's not -
if there's any commit work touching the plane it's going to be blocked until
that finishes and that'll be any non asynchronous cursor update, gamma update,
property update, or anything else that occurs. This is what the stuttering
comes from.
So while it's a valid use of the cursor UAPI to double buffer cursors it's not
something I'd really recommend doing for an atomic driver with how DRM is
currently setup. Maybe this can be a configurable option in the meantime? I'm
not sure how much work that would be to add and maintain, though.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190114/318c2396/attachment.html>
More information about the dri-devel
mailing list