drm/i915: Make a single set-to-gtt-domain path.
authorEric Anholt <eric@anholt.net>
Mon, 10 Nov 2008 18:53:25 +0000 (10:53 -0800)
committerDave Airlie <airlied@redhat.com>
Thu, 4 Dec 2008 01:21:52 +0000 (11:21 +1000)
commit2ef7eeaa553d88e78d9a4520271f26a7bc0e2968
tree7a46a23d4fcc57ae03131c106d21fdac721dfce1
parentb670d8158283c35842ae1c650f75c375d8710607
drm/i915: Make a single set-to-gtt-domain path.

This fixes failure to flush caches in the relocation update path, and
failure to wait in the set_domain ioctl, each of which could lead to incorrect
rendering.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_gem.c