drm/i915/skl: Enabling processing of Turbo interrupts
Earlier Turbo interrupts were not being processed for SKL, as something was amiss in turbo programming for SKL. Now missing changes have been added, so enabling the Turbo interrupt processing for SKL. Signed-off-by: Akash Goel <akash.goel@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
60260a5b59
commit
aa448626d8
|
@ -1696,11 +1696,6 @@ static void i9xx_pipe_crc_irq_handler(struct drm_device *dev, enum pipe pipe)
|
||||||
* the work queue. */
|
* the work queue. */
|
||||||
static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir)
|
static void gen6_rps_irq_handler(struct drm_i915_private *dev_priv, u32 pm_iir)
|
||||||
{
|
{
|
||||||
/* TODO: RPS on GEN9+ is not supported yet. */
|
|
||||||
if (WARN_ONCE(INTEL_INFO(dev_priv)->gen >= 9,
|
|
||||||
"GEN9+: unexpected RPS IRQ\n"))
|
|
||||||
return;
|
|
||||||
|
|
||||||
if (pm_iir & dev_priv->pm_rps_events) {
|
if (pm_iir & dev_priv->pm_rps_events) {
|
||||||
spin_lock(&dev_priv->irq_lock);
|
spin_lock(&dev_priv->irq_lock);
|
||||||
gen6_disable_pm_irq(dev_priv, pm_iir & dev_priv->pm_rps_events);
|
gen6_disable_pm_irq(dev_priv, pm_iir & dev_priv->pm_rps_events);
|
||||||
|
|
Loading…
Reference in New Issue