drm/i915: Remove surplus drm_device parameter to i915_gem_evict_something()
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:18 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:19:50 +0000 (20:19 +0100)
commite522ac2324f384e1fafd1a4ae6ebf38095dc6695
tree0b201f2b49eddedd866c97e7ab66798036cf70b2
parent9332f3b1b99a7cb738755b138988838d33ba6748
drm/i915: Remove surplus drm_device parameter to i915_gem_evict_something()

Eviction is VM local, so we can ignore the significance of the
drm_device in the caller, and leave it to i915_gem_evict_something() to
manage itself.

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/1470324762-2545-2-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_evict.c
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_trace.h