aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2015-10-09 13:11:27 +0000
committerDaniel Vetter <[email protected]>2015-10-13 13:52:38 +0000
commitef55f92a92eee54238e16269823a52cfcbb2330c (patch)
tree0eb008bf62b4c8711e02e1c7f3c4c83e3c7494c0 /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
parentdrm/i915: revert a few more watermark commits (diff)
downloadkernel-ef55f92a92eee54238e16269823a52cfcbb2330c.tar.gz
kernel-ef55f92a92eee54238e16269823a52cfcbb2330c.zip
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 <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions