[Intel-gfx] [PATCH 4/6] drm/connector: store tile information from displayid (v2)

Dave Airlie airlied at gmail.com
Mon Nov 10 05:50:45 CET 2014


> +                               bool is_edid_extension)
> +{
> +       /* if this is an EDID extension the first byte will be 0x70 */
> +       int idx = 0;
> +       struct displayid_hdr *base;
> +       struct displayid_block *block;
> +       u8 csum = 0;
> +       int i;
> +
> +       if (is_edid_extension)
> +               idx = 1;
> +
> +       base = (struct displayid_hdr *)&displayid[idx];
> +
> +       printk("base revision 0x%x, length %d, %d %d\n",
> +              base->rev, base->bytes, base->prod_id, base->ext_count);

self review - move this and printk below to debug kms, done locally.

Dave.



More information about the Intel-gfx mailing list