]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Install fence register for tiled scanout on i915
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 Jun 2009 21:08:52 +0000 (22:08 +0100)
committerEric Anholt <eric@anholt.net>
Thu, 18 Jun 2009 18:47:04 +0000 (11:47 -0700)
commit5e4d21e7e74623ccafd7d2b3797a0e24d0bfef34
tree665c717af9a0b630303294bcbe48d9cafb10f186
parent9f312bf9bd180778aa019ba2de12bc82bb1c0eef
drm/i915: Install fence register for tiled scanout on i915

With the work by Jesse Barnes to eliminate allocation of fences during
execbuffer, it becomes possible to write to the scan-out buffer with it
never acquiring a fence (simply by only ever writing to the object using
tiled GPU commands and never writing to it via the GTT). So for pre-i965
chipsets which require fenced access for tiled scan-out buffers, we need
to obtain a fence register.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c