[Intel-gfx] [PATCH 6.1/9] drm/i915: don't queue PM events we won't process

2013-08-15 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com On SNB/IVB/VLV we only call gen6_rps_irq_handler if one of the IIR bits set is part of GEN6_PM_RPS_EVENTS, but at gen6_rps_irq_handler we add all the enabled IIR bits to the work queue, not only the ones that are part of GEN6_PM_RPS_EVENTS. But then

Re: [Intel-gfx] [PATCH 6.1/9] drm/i915: don't queue PM events we won't process

2013-08-14 Thread Ben Widawsky
On Fri, Aug 09, 2013 at 05:04:35PM -0300, Paulo Zanoni wrote: From: Paulo Zanoni paulo.r.zan...@intel.com On SNB/IVB/VLV we only call gen6_rps_irq_handler if one of the IIR bits set is part of GEN6_PM_RPS_EVENTS, but at gen6_rps_irq_handler we add all the enabled IIR bits to the work queue,

[Intel-gfx] [PATCH 6.1/9] drm/i915: don't queue PM events we won't process

2013-08-09 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com On SNB/IVB/VLV we only call gen6_rps_irq_handler if one of the IIR bits set is part of GEN6_PM_RPS_EVENTS, but at gen6_rps_irq_handler we add all the enabled IIR bits to the work queue, not only the ones that are part of GEN6_PM_RPS_EVENTS. But then