diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-04-19 02:20:46 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-12-19 11:25:02 +0200 |
commit | 156548175cdf9536d733bbde8b3c092ac92c3aec (patch) | |
tree | d02602e572e885234b42df7038aca30a49e65acc /drivers/gpu/drm/omapdrm | |
parent | 5d9f5b33399cc57d04ceed05f011d6fe4136675a (diff) | |
download | blackbird-obmc-linux-156548175cdf9536d733bbde8b3c092ac92c3aec.tar.gz blackbird-obmc-linux-156548175cdf9536d733bbde8b3c092ac92c3aec.zip |
drm: omapdrm: Don't call DISPC power handling in IRQ wait functions
The IRQ wait functions are called from the DSS enable and disable
operations only, where the DISPC is guaranteed to be enabled. There's no
need for manual DISPC power management there.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
-rw-r--r-- | drivers/gpu/drm/omapdrm/omap_irq.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_irq.c b/drivers/gpu/drm/omapdrm/omap_irq.c index 5b22d297f1ea..d5c73c534586 100644 --- a/drivers/gpu/drm/omapdrm/omap_irq.c +++ b/drivers/gpu/drm/omapdrm/omap_irq.c @@ -44,7 +44,6 @@ static void omap_irq_register(struct drm_device *dev, struct omap_drm_irq *irq) struct omap_drm_private *priv = dev->dev_private; unsigned long flags; - dispc_runtime_get(); spin_lock_irqsave(&list_lock, flags); if (!WARN_ON(irq->registered)) { @@ -54,7 +53,6 @@ static void omap_irq_register(struct drm_device *dev, struct omap_drm_irq *irq) } spin_unlock_irqrestore(&list_lock, flags); - dispc_runtime_put(); } static void omap_irq_unregister(struct drm_device *dev, @@ -62,7 +60,6 @@ static void omap_irq_unregister(struct drm_device *dev, { unsigned long flags; - dispc_runtime_get(); spin_lock_irqsave(&list_lock, flags); if (!WARN_ON(!irq->registered)) { @@ -72,7 +69,6 @@ static void omap_irq_unregister(struct drm_device *dev, } spin_unlock_irqrestore(&list_lock, flags); - dispc_runtime_put(); } struct omap_irq_wait { |