diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-11-16 12:32:42 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2016-11-17 13:56:46 +0000 |
commit | 6315b5d33a8ff6e0bf3d083524ffaa4e33d5981b (patch) | |
tree | 5e5fd63b763fdcf5e17c0302e4177fa2ee661a8b /drivers/gpu/drm/i915/i915_drv.c | |
parent | 175fded17c4c291edc72b5f41b47d23de799329d (diff) | |
download | blackbird-obmc-linux-6315b5d33a8ff6e0bf3d083524ffaa4e33d5981b.tar.gz blackbird-obmc-linux-6315b5d33a8ff6e0bf3d083524ffaa4e33d5981b.zip |
drm/i915: dev_priv cleanup in intel_display.c
v2: Rebase.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index ce34e7ab44ab..445fec9c2841 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -495,7 +495,7 @@ static unsigned int i915_vga_set_decode(void *cookie, bool state) { struct drm_device *dev = cookie; - intel_modeset_vga_set_state(dev, state); + intel_modeset_vga_set_state(to_i915(dev), state); if (state) return VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM | VGA_RSRC_NORMAL_IO | VGA_RSRC_NORMAL_MEM; |