drm/i915: make the blitter report buffer modifications to the FBC unit
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 18 Jan 2011 19:25:41 +0000 (11:25 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jan 2011 19:30:24 +0000 (19:30 +0000)
commit4efe070896e1f7373c98a13713e659d1f5dee52a
treefab6799395ea600cb71674919d978ef36d60783e
parent1ffa325bac55982d72a61ccab1a4190501e37148
drm/i915: make the blitter report buffer modifications to the FBC unit

Without this change, blits to the front buffer won't invalidate FBC
state, causing us to scan out stale data.  Make sure we update these
bits on every FBC enable, since they may get clobbered if we shut off
the display.

References: https://bugzilla.kernel.org/show_bug.cgi?id=26932
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c