diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-05-27 22:58:02 (GMT) |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-06-12 19:52:50 (GMT) |
commit | fd93a252da41e40e2b6383122eb6009714faa51c (patch) | |
tree | 3e1451ccab8482269f63ababcf0d9f0cdb982b7f /drivers | |
parent | 1cfe19aa611b332e182cd9976e91a205121ac956 (diff) | |
download | linux-fd93a252da41e40e2b6383122eb6009714faa51c.tar.xz |
drm: omapdrm: Remove nested PM get/sync when configuring encoders
The omap_crtc_encoder_setup() function is always called with the DSS
enabled. Remove the dispc_runtime_get() and dispc_runtime_put() calls.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_crtc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index aa719eb..16f9c07 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -374,8 +374,6 @@ static void omap_crtc_encoder_setup(struct drm_crtc *crtc, bool enable) DBG("%s: enable=%d", omap_crtc->name, enable); - dispc_runtime_get(); - for (i = 0; i < priv->num_encoders; i++) { if (priv->encoders[i]->crtc == crtc) { encoder = priv->encoders[i]; @@ -396,8 +394,6 @@ static void omap_crtc_encoder_setup(struct drm_crtc *crtc, bool enable) omap_encoder_set_enabled(encoder, true); } } - - dispc_runtime_put(); } /* ----------------------------------------------------------------------------- |