On Tue,  4 Mar 2014 19:23:07 +0200
Imre Deak <[email protected]> wrote:

> +void valleyview_enable_display_irqs(struct drm_i915_private *dev_priv)
> +{
> +     assert_spin_locked(&dev_priv->irq_lock);
> +
> +     if (dev_priv->display_irqs_enabled)
> +             return;
> +
> +     dev_priv->display_irqs_enabled = true;
> +
> +     if (dev_priv->dev->irq_enabled)
> +             valleyview_display_irqs_install(dev_priv);
> +}

This made me do a double take, then I saw you were checking the actual
drm_device irq enabled state rather than checking the new field again...

Looks good.

Reviewed-by: Jesse Barnes <[email protected]>

-- 
Jesse Barnes, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to