drm/i915/userptr: Convert to drm_i915_private
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 May 2016 15:17:16 +0000 (16:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 19 May 2016 16:57:08 +0000 (17:57 +0100)
commit72778cb266195c74846ae7f338871b2b7dc663b8
tree8b510d448ae376e4bbf08e1d3d1c837f416d275d
parentd55dbd06bb5e1399aba9ab5227465339d1bbefff
drm/i915/userptr: Convert to drm_i915_private

userptr directly only uses drm_device in a single interface where it
meant to use drm_i915_private (everywhere else we have to derive it from
the drm_i915_gem_object and so require going from drm_device).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1463671036-3235-1-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_userptr.c