drm/i915: Embed the io-mapping struct inside drm_i915_private
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Aug 2016 15:54:27 +0000 (16:54 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Aug 2016 16:13:35 +0000 (17:13 +0100)
commitf7bbe7883c3f119714fd09a8ceaac8075ba04dfe
tree3a9ebf6c9bb5899ee1c1dab1d8e83430af43b1d9
parentcafaf14a5d8f152ed3c984ecd48dee6e824446bc
drm/i915: Embed the io-mapping struct inside drm_i915_private

As io_mapping.h now always allocates the struct, we can avoid that
allocation and extra pointer dance by embedding the struct inside
drm_i915_private

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