[PATCH 19/36] dix: add ability to link output slave gpus to the current gpu
Keith Packard
keithp at keithp.com
Mon Jul 2 16:41:53 PDT 2012
Dave Airlie <airlied at gmail.com> writes:
> +void
> +AttachOutputGPU(ScreenPtr pScreen, ScreenPtr new)
> +{
> + assert(new->isGPU);
> + xorg_list_add(&new->output_head, &pScreen->output_slave_list);
> + new->current_master = pScreen;
> +}
I'd love an assert that new isn't already on a list somehow?
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120702/ce817650/attachment.pgp>
More information about the xorg-devel
mailing list