OSDN Git Service

drm/i915: Convert fence computations to use vma directly
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 09:48:52 +0000 (10:48 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 15 Aug 2016 10:01:00 +0000 (11:01 +0100)
commita83718b6819d99d01a34ed1ef1a01598eb45c61b
tree8e915aaea45d07f780c8d540c7abc7b49bef58b0
parent8b797af189c917a821221ddc258f50a14552177a
drm/i915: Convert fence computations to use vma directly

Lookup the GGTT vma once for the object assigned to the fence, and then
derive everything from that vma.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-13-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem_fence.c