drm/i915/opregion: Convert to using native drm_i915_private
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 May 2016 14:08:09 +0000 (15:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 May 2016 15:35:21 +0000 (16:35 +0100)
commit6f9f4b7a2cf7c5047f4d31bb00b0a48fb0a674e3
tree0ae89892eebec20e09a57128d28ec0f91306fcf4
parent11825b0dba78b2f26a6ff9a6acb5d5b6b186e741
drm/i915/opregion: Convert to using native drm_i915_private

Prefer passing struct drm_i915_private to internal interfaces as this
saves us having to dance between drm_device and our native struct. The
savings hare are small (only 70 bytes of unrequired dancing), but
progressive!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1464012490-30961-1-git-send-email-chris@chris-wilson.co.uk
Reviewed-by: Jani Nikula <jani.nikula@linux.intel.com>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_opregion.c