On Wed, May 2, 2012 at 10:55 PM, Paulo Zanoni <[email protected]> wrote:

> From: Paulo Zanoni <[email protected]>
>
> That's what the VIDEO_DIP_CTL documentation says we need to do. Except
> when it's the AVI InfoFrame and we're ironlake_write_infoframe.
>
> Signed-off-by: Paulo Zanoni <[email protected]>
>

Reviewed-by: Eugeni Dodonov <[email protected]>


>        val &= ~(VIDEO_DIP_SELECT_MASK | 0xf); /* clear DIP data offset */
>        val |= intel_infoframe_index(frame);
>
> +       if (frame->type == DIP_TYPE_AVI)
> +               val |= VIDEO_DIP_ENABLE_AVI;
> +       else
> +               val &= ~intel_infoframe_enable(frame);
> +
>

Maybe adding a comment here saying why we have this on Ironlake as well?

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to