[PATCH 19/36] dix: add ability to link output slave gpus to the current gpu
airlied at gmail.com
Tue Jul 3 02:56:29 PDT 2012
On Tue, Jul 3, 2012 at 12:41 AM, Keith Packard <keithp at keithp.com> wrote:
> Dave Airlie <airlied at gmail.com> writes:
>> +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?
I'm not really sure you can tell that, since list members don't have
to make sense
I could add
which should be true.
More information about the xorg-devel