On Tue, Mar 31, 2015 at 01:47:26PM +1000, Dave Airlie wrote:
> From: Dave Airlie <airl...@redhat.com>
> 
> This adds tiling support to the server modesetting driver,
> it retrieves the tile info from the kernel and translates
> it into the server format and exposes the property.
> 
> Signed-off-by: Dave Airlie <airl...@redhat.com>
> ---

> +    if (drmmode_output->tile_blob) {
> +        struct xf86CrtcTileInfo tile_info;
> +
> +        if (xf86OutputParseKMSTile(drmmode_output->tile_blob->data, 
> drmmode_output->tile_blob->length, &tile_info) == TRUE)
> +            xf86OutputSetTile(output, &tile_info);
> +    }

How do we clear the previous tile?

        struct xf86CrtcTileInfo tile_info;

        memset(&tile_info, 0, sizeof(tile_info));
        if (drmmode_output->tile_blob)
                xf86OutputParseKMSTile(drmmode_output->tile_blob->data,
                                       drmmode_output->tile_blob->length,
                                       &tile_info);
        xf86OutputSetTile(output, &tile_info);

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to