All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 109332] xf86-video-amdgpu - commit 0d60233d introduced stuttering with mouse cursor operations
Date: Mon, 14 Jan 2019 13:33:45 +0000	[thread overview]
Message-ID: <bug-109332-502-QMret6m1i5@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-109332-502@http.bugs.freedesktop.org/>


[-- Attachment #1.1: Type: text/plain, Size: 1114 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=109332

--- Comment #2 from Nicholas Kazlauskas <nicholas.kazlauskas@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.

[-- Attachment #1.2: Type: text/html, Size: 1986 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-01-14 13:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-109332-502@http.bugs.freedesktop.org/>
2019-01-14 11:07 ` [Bug 109332] xf86-video-amdgpu - commit 0d60233d introduced stuttering with mouse cursor operations bugzilla-daemon
2019-01-14 13:33 ` bugzilla-daemon [this message]
2019-01-14 15:21 ` bugzilla-daemon
2019-10-20 11:20 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109332-502-QMret6m1i5@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.