dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 49603] [regression] Fullscreen video no longer smooth with GPU in low power mode
Date: Tue, 08 May 2012 10:43:29 +0000	[thread overview]
Message-ID: <bug-49603-502-RrfBgUlgi0@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-49603-502@http.bugs.freedesktop.org/>

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

--- Comment #2 from Simon Farnsworth <simon.farnsworth@onelan.co.uk> 2012-05-08 03:43:29 PDT ---
Created attachment 61213
  --> https://bugs.freedesktop.org/attachment.cgi?id=61213
Different route to spinning in preference to in-kernel waits for short fences

If Michel's patch helps, would you mind trying this patch instead? The
difference is that Michel's patch doesn't have the early abort if the kernel
says the GPU has completed the command batch we're waiting for, while this
patch does. Both patches will cause Mesa to spin 256 times before it goes to
sleep waiting for the GPU to have completed a command batch.

For background, I'm working with the Fusion E-350 chip; I'm thus CPU-limited.
The goal of the original patch is twofold:

1) Don't spin on CPU when you're going to have to wait for a long time for the
GPU to finish work - go to sleep waiting for the GPU to complete.

2) Don't keep spinning when the GPU has completed the command batch that
includes the fence - it's not going to change state again, absent bugs, so we
should cease spinning now.

If Michel's patch helps, and this patch does not, it indicates that there are
problems with attempting to wait in the kernel. If neither patch helps, we have
a deeper issue to diagnose.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

  parent reply	other threads:[~2012-05-08 10:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-07 20:11 [Bug 49603] New: [regression] Fullscreen video no longer smooth with GPU in low power mode bugzilla-daemon
2012-05-08 10:12 ` [Bug 49603] " bugzilla-daemon
2012-05-08 10:43 ` bugzilla-daemon [this message]
2012-05-08 17:56 ` bugzilla-daemon
2012-05-09  2:24 ` bugzilla-daemon
2012-05-09  9:30 ` bugzilla-daemon
2012-05-11 20:46 ` bugzilla-daemon
2013-09-19 19:24 ` 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-49603-502-RrfBgUlgi0@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).