summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_crt.c
diff options
context:
space:
mode:
authorPaulo Zanoni2014-04-24 15:50:56 +0200
committerDaniel Vetter2014-07-23 07:05:23 +0200
commit4651fb23f6f1d86700b07a27ad7f137d28492342 (patch)
tree9005dc76a7becf4dd610ee2df9543354a02bc256 /drivers/gpu/drm/i915/intel_crt.c
parentdrm/i915: Force GPU Freq to lowest while suspending. (diff)
downloadkernel-qcow2-linux-4651fb23f6f1d86700b07a27ad7f137d28492342.tar.gz
kernel-qcow2-linux-4651fb23f6f1d86700b07a27ad7f137d28492342.tar.xz
kernel-qcow2-linux-4651fb23f6f1d86700b07a27ad7f137d28492342.zip
drm/i915: remove useless runtime PM get calls
We already call intel_display_power_get, which will get a power domain, and every power domain should get a runtime PM reference, which will wake up the machine. v2: - Also touch intel_crt_detect() (Ville). Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> [danvet: Fixup commit message as spotted by Ville.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_crt.c')
-rw-r--r--drivers/gpu/drm/i915/intel_crt.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
index 4b085611a281..133573c0adf8 100644
--- a/drivers/gpu/drm/i915/intel_crt.c
+++ b/drivers/gpu/drm/i915/intel_crt.c
@@ -660,8 +660,6 @@ intel_crt_detect(struct drm_connector *connector, bool force)
struct intel_load_detect_pipe tmp;
struct drm_modeset_acquire_ctx ctx;
- intel_runtime_pm_get(dev_priv);
-
DRM_DEBUG_KMS("[CONNECTOR:%d:%s] force=%d\n",
connector->base.id, connector->name,
force);
@@ -713,8 +711,6 @@ intel_crt_detect(struct drm_connector *connector, bool force)
out:
intel_display_power_put(dev_priv, power_domain);
- intel_runtime_pm_put(dev_priv);
-
return status;
}