drm/i915: fix transition to I915_TILING_NONE
authorKeith Packard <keithp@keithp.com>
Thu, 16 Apr 2009 22:17:39 +0000 (15:17 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 17 Apr 2009 20:31:05 +0000 (13:31 -0700)
commit5b0bdd6f7284ed39ee553f8a8c4f0d372c87133a
tree205b53b4f5da4bff800e04d620fbcea1b89af3e9
parent07f4f8bf436e3f389a12cb792ad16275b9091b51
drm/i915: fix transition to I915_TILING_NONE

Transitions to TILING_NONE skipped the call to unbind the object, which left
the fence register set and caused future CPU access through the GTT to
access the object in tiled mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem_tiling.c