drm/i915: Use dev_priv consistently through the intel_frontbuffer interface
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 15:32:38 +0000 (16:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Aug 2016 19:20:03 +0000 (20:20 +0100)
commit5748b6a1f48eae5b8513dd88ab6da4c176686665
tree8220f65e05f09912e1ee18b9b220c56bff9310f0
parentfaf5bf0ad62b332769199cc09c678287ab3c5f08
drm/i915: Use dev_priv consistently through the intel_frontbuffer interface

Rather than a mismash of struct drm_device *dev and struct
drm_i915_private *dev_priv being used freely within a function, be
consistent and only pass along dev_priv.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1470324762-2545-22-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_frontbuffer.c
drivers/gpu/drm/i915/intel_frontbuffer.h
drivers/gpu/drm/i915/intel_overlay.c
drivers/gpu/drm/i915/intel_psr.c