Re: [Mesa-dev] [PATCH] radv: fix common extensions getting registered twice.

2017-02-19 Thread Dave Airlie
On 20 February 2017 at 07:06, Bas Nieuwenhuizen wrote: > On Sun, Feb 19, 2017 at 9:56 PM, Dave Airlie wrote: >> From: Dave Airlie >> >> physical devices can be enumerated multiple time per instance, >> this was causing the realloc to be hit for no reason, and >> the CTS allocation verification

Re: [Mesa-dev] [PATCH] radv: fix common extensions getting registered twice.

2017-02-19 Thread Bas Nieuwenhuizen
On Sun, Feb 19, 2017 at 9:56 PM, Dave Airlie wrote: > From: Dave Airlie > > physical devices can be enumerated multiple time per instance, > this was causing the realloc to be hit for no reason, and > the CTS allocation verification would get angry. We only do the radv_physical_device_init on th

[Mesa-dev] [PATCH] radv: fix common extensions getting registered twice.

2017-02-19 Thread Dave Airlie
From: Dave Airlie physical devices can be enumerated multiple time per instance, this was causing the realloc to be hit for no reason, and the CTS allocation verification would get angry. We'd also be allocating common extensions onto the list each time for no reason. This hopefully fixes a bun