aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/dvo_ns2501.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-10-09 14:11:27 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-10-13 15:52:38 +0200
commitef55f92a92eee54238e16269823a52cfcbb2330c (patch)
tree0eb008bf62b4c8711e02e1c7f3c4c83e3c7494c0 /drivers/gpu/drm/i915/dvo_ns2501.c
parent2791a16ca43302d07ac74cbe7c048e367c4632c4 (diff)
drm/i915: Drop i915_gem_obj_is_pinned() from set-cache-level
Since the remove of the pin-ioctl, we only care about not changing the cache level on buffers pinned to the hardware as indicated by obj->pin_display. By knowing that only objects pinned to the hardware will have an elevated vma->pin_count, so we can coallesce many of the linear walks over the obj->vma_list. v2: Try and retrospectively add comments explaining the steps in rebinding the active VMA. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/dvo_ns2501.c')
0 files changed, 0 insertions, 0 deletions