intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: intel-gfx@lists.freedesktop.org
Subject: RFC frontbuffer write tracking
Date: Thu, 20 Jun 2013 18:18:27 +0100	[thread overview]
Message-ID: <1371748712-26072-1-git-send-email-chris@chris-wilson.co.uk> (raw)

Having thrown around a few ideas for how to do PSR and FBC write
tracking on the frontbuffer, including the creation of a new SCANOUT
domain, the implementation that I've settled on is to detect writes to
either the GTT domain (hmm, a CPU write flush should also set the fb as
dirty) and then a deferred SCANOUT flush. The deferred flush then resets
the write domain and kicks the GTT mapping so that any further dumb
writes (i.e. dumb kms buffers or fbcon) cause a new frontbuffer
invalidation. This patch series also introduces framebuffer parameters
(which maybe should be properties) to allow userspace to opt out of the
dumb mechanism and elect to call dirtyfb itself when it requires the
scanout to be flushed.

I've been playing around with GFDT on SNB and IVB as a means for
prototyping the delayed updates and framebuffer parameters.
-Chris

             reply	other threads:[~2013-06-20 17:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-20 17:18 Chris Wilson [this message]
2013-06-20 17:18 ` [PATCH 1/5] drm/i915: Amalgamate the parameters to ring flush Chris Wilson
2013-06-20 17:18 ` [PATCH 2/5] drm/i915: Expose framebuffer parameters Chris Wilson
2013-06-20 17:18 ` [PATCH 3/5] drm/i915: Add a powersave framebuffer parameter Chris Wilson
2013-06-20 17:18 ` [PATCH 4/5] drm/i915: Track modifications to the frontbuffer Chris Wilson
2013-06-20 17:18 ` [PATCH 5/5] drm/i915: Defer the FBC w/a invalidation Chris Wilson
2013-07-18  7:40 ` RFC frontbuffer write tracking Daniel Vetter

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=1371748712-26072-1-git-send-email-chris@chris-wilson.co.uk \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@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).