Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Attempt to re-enable FBC on gen3
@ 2010-04-23 15:17 Adam Jackson
  2010-04-23 15:17 ` [PATCH 1/4] drm/i915: Make fbc control wrapper functions Adam Jackson
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Adam Jackson @ 2010-04-23 15:17 UTC (permalink / raw)
  To: intel-gfx

Disclaimer: I haven't tested this extensively, it just seems logical, and I
really hate to see us lose FBC on gen3 since that's the family being used in
low-wattage devices.  Wider testing would be greatly appreciated.

The only thing I really don't like about this is how we hit every CRTC on
resume trying to enable FBC.  But that's sort of a problem in the normal case
anyway.  On pre-gen4, we can only compress plane A, so we hardwire that to
pipe B since LVDS is limited to pipe B.  Ideally, you'd like to compress
whichever CRTC has more pixels, assuming they're both mostly static. It's
really awkward to do that in the current one-at-a-time CRTC setup kind of
world though.

On gen4 and later we can compress either plane, so it's a little messier;
we'll compress whichever CRTC gets set up last, before suspend, but then after
suspend we'll compress the highest-numbered CRTC.  Either way, when multiple
CRTCs are active, we're already sometimes compressing a suboptimal plane, so
making more ways for that to happen isn't a huge deal.

(Then, of course, you'd like to switch which pipe you compress to the one with
the more static image, if they have different update rates.  But that's way
into diminishing returns territory.)

- ajax

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-05-02 21:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-23 15:17 [PATCH 0/4] Attempt to re-enable FBC on gen3 Adam Jackson
2010-04-23 15:17 ` [PATCH 1/4] drm/i915: Make fbc control wrapper functions Adam Jackson
2010-04-23 15:17 ` [PATCH 2/4] drm/i915: Push an fbc disable across suspend Adam Jackson
2010-04-29 22:45   ` Eric Anholt
2010-04-30 14:33     ` Adam Jackson
2010-05-02 21:26       ` Daniel Vetter
2010-04-23 15:17 ` [PATCH 3/4] drm/i915: Hide per-chipset fbc disable routines again Adam Jackson
2010-04-23 15:17 ` [PATCH 4/4] Revert "drm/i915: Disable FBC on 915GM and 945GM." Adam Jackson
2010-04-27 21:22 ` [PATCH 0/4] Attempt to re-enable FBC on gen3 Alexander Lam
2010-04-29  8:23 ` Tobias Doerffel
2010-04-30 23:05   ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox