commit | 62d75df7b00fab9487ba6f8012581c1d88a05abb | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Oct 31 22:37:25 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Tue Nov 01 16:40:38 2016 +0200 |
tree | 7f3a70625aa324edcb4e382cf84a978b9f3cd3b3 | |
parent | bb7265197a86bd68078825723b572599fcc60d2b [diff] [blame] |
drm/i915: Pass dev_priv to intel_init_pm() Unify our approach to things by passing around dev_priv instead of dev. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1477946245-14134-27-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index a46922a..9758910 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c
@@ -16419,7 +16419,7 @@ int intel_modeset_init(struct drm_device *dev) intel_init_quirks(dev); - intel_init_pm(dev); + intel_init_pm(dev_priv); if (INTEL_INFO(dev)->num_pipes == 0) return 0;