]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Set persistent-mode for ILK/SNB framebuffer compression
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Jul 2011 11:22:40 +0000 (12:22 +0100)
committerKeith Packard <keithp@keithp.com>
Fri, 8 Jul 2011 17:23:12 +0000 (10:23 -0700)
commit44afe723adb81dc793c1f44d5b3b389bf85d964c
treee836095751192032f732dceb94d9329f0c8b4121
parent2e7fdda50e335fafefa45dd633f13f3c7a050fcc
drm/i915: Set persistent-mode for ILK/SNB framebuffer compression

Persistent mode is intended for use with front-buffer rendering, such as
X, where it is necessary to detect writes to the scanout either by the
GPU or through the CPU's fence, and recompress the dirty regions on the
fly. (By comparison to the back-buffer rendering, the scanout is always
recompressed after a page-flip.)

References: https://bugs.freedesktop.org/show_bug.cgi?id=33487
References: https://bugs.freedesktop.org/show_bug.cgi?id=31742
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c