drm/i915: Remove i915_gem_obj_size
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 21 Apr 2016 12:04:43 +0000 (13:04 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Mon, 25 Apr 2016 11:34:05 +0000 (12:34 +0100)
commit8da32727ac0e5a1b440c5f011d501bd64164d9ec
treee564260d7e909075945f021e93fca918bdd5834c
parentd37cd8a8878e8a257a2ea515fe4a0bb370b4efc5
drm/i915: Remove i915_gem_obj_size

Only caller is i915_gem_obj_ggtt_size which only cares about
GGTT so simplify it and implement under that name.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c