]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: blow away userspace mappings before fence change
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 1 Feb 2010 12:59:17 +0000 (13:59 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 22 Feb 2010 16:54:42 +0000 (11:54 -0500)
commit10ae9bd25acf394c8fa2f9d795dfa9cec4d19ed6
treed5d67859fab5c64963551a37f95228dde93287ad
parent4a7266123fce399f695b62b7f87b467b317f1487
drm/i915: blow away userspace mappings before fence change

This aligns it with the other user of i915_gem_clear_fence_reg,
which blows away the mapping before changing the fence reg.

Only affects userspace if it races against itself when changing
tiling parameters, i.e. behaviour is undefined, anyway.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_tiling.c