]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Eliminate superfluous i915_ggtt_view_normal
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 00:28:27 +0000 (00:28 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 16:18:36 +0000 (16:18 +0000)
commit47a8e3f6aebd4d6048572b3aeaef1dd51acb0d82
tree072e353866ca8f58e0e25595d83e75dbb2422707
parent7b92c047bae2210874d64ae8bbb56fbd18ab6731
drm/i915: Eliminate superfluous i915_ggtt_view_normal

Since commit 058d88c4330f ("drm/i915: Track pinned VMA"), there is only
one user of i915_ggtt_view_normal rodate. Just treat NULL as no special
view in pin_to_display() like everywhere else.

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/20170114002827.31315-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h
drivers/gpu/drm/i915/intel_overlay.c