drm/i915: add FIFO watermark support
authorShaohua Li <shaohua.li@intel.com>
Fri, 26 Jun 2009 03:23:55 +0000 (11:23 +0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Jul 2009 18:16:09 +0000 (11:16 -0700)
commit7662c8bd6545c12ac7b2b39e4554c3ba34789c50
treeb6bd6bc9725e355cd7e57c3183dfba99af719a5e
parent63eeaf38251183ec2b1caee11e4a2c040cb5ce6c
drm/i915: add FIFO watermark support

This patch from jbarnes and myself adds FIFO watermark control to the
driver.  This is needed for both power saving features on new platforms
with the so-called "big FIFO" and for controlling FIFO allocation
between pipes in multi-head configurations.

It's also necessary infrastructure to support things like framebuffer
compression and configuration supportability checks (i.e. checking a
configuration against available bandwidth).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c