Attempt to re-enable FBC on gen3
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/i915: Make fbc control wrapper functionsdrivers/ drivers/ drivers/ +1 more | +51 | 0 replies | |
| 2/4 | drm/i915: Push an fbc disable across suspenddrivers/ drivers/ drivers/ | +14 | 3 replies | |
| 3/4 | drm/i915: Hide per-chipset fbc disable routines againdrivers/ drivers/ | +2 | 0 replies | |
| 4/4 | Revert "drm/i915: Disable FBC on 915GM and 945GM."drivers/ drivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Attempt to re-enable FBC on gen3
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