diff mbox

drm/i915: don't prevent CPU idle states

Message ID 1354970893-17950-1-git-send-email-tomi@nomi.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Tomas Janousek Dec. 8, 2012, 12:48 p.m. UTC
Commit 9ee32fea5f unconditionally prevents the CPU from entering idle states
until intel_dp_aux_ch completes for the first time, which never happens on my
DisplayPort-less intel gfx, causing the CPU to get rather hot.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
---
 drivers/gpu/drm/i915/i915_irq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Daniel Vetter Dec. 8, 2012, 10:40 p.m. UTC | #1
On Sat, Dec 08, 2012 at 01:48:13PM +0100, Tomas Janousek wrote:
> Commit 9ee32fea5f unconditionally prevents the CPU from entering idle states
> until intel_dp_aux_ch completes for the first time, which never happens on my
> DisplayPort-less intel gfx, causing the CPU to get rather hot.
> 
> Signed-off-by: Tomas Janousek <tomi@nomi.cz>
Queued for -next, thanks for the patch.
-Daniel
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c
index 2e1d80d..914ecf4 100644
--- a/drivers/gpu/drm/i915/i915_irq.c
+++ b/drivers/gpu/drm/i915/i915_irq.c
@@ -2732,7 +2732,7 @@  void intel_irq_init(struct drm_device *dev)
 	setup_timer(&dev_priv->hangcheck_timer, i915_hangcheck_elapsed,
 		    (unsigned long) dev);
 
-	pm_qos_add_request(&dev_priv->pm_qos, PM_QOS_CPU_DMA_LATENCY, 0);
+	pm_qos_add_request(&dev_priv->pm_qos, PM_QOS_CPU_DMA_LATENCY, PM_QOS_DEFAULT_VALUE);
 
 	dev->driver->get_vblank_counter = i915_get_vblank_counter;
 	dev->max_vblank_count = 0xffffff; /* only 24 bits of frame count */