drm/i915: Simplify i915_gem_object_ggtt_unpin
authorDaniel Vetter <[email protected]>
Fri, 14 Feb 2014 13:01:19 +0000 (14:01 +0100)
committerDaniel Vetter <[email protected]>
Fri, 14 Feb 2014 13:18:21 +0000 (14:18 +0100)
commitb287110e890e3f11ce3671305215eb1c8d791de2
tree2a7f2d241c7aca1263f3ea42ebc0acc65937cecd
parentd47c3ea2bd372fb5d84191d8383185825320ad91
drm/i915: Simplify i915_gem_object_ggtt_unpin

Split out from Chris vma-bind rework.

Jani wondered why this is save, and the reason is that i915_vma_unbind
does all these checks, too. So they're redundant.

Cc: Chris Wilson <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Jani Nikula <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c