Re: [PATCH] [rfc] amdgfx/gfx: don't use static objects for ce/de meta. (v2)

2017-09-29 Thread Christian König
Am 29.09.2017 um 02:16 schrieb Dave Airlie: From: Dave Airlie This isn't safe if we have multiple GPUs plugged in, since there is only one copy of this struct in the bss, just allocate on stack, it's 40/108 bytes which should be safe. Signed-off-by: Dave Airlie

[PATCH] [rfc] amdgfx/gfx: don't use static objects for ce/de meta. (v2)

2017-09-28 Thread Dave Airlie
From: Dave Airlie This isn't safe if we have multiple GPUs plugged in, since there is only one copy of this struct in the bss, just allocate on stack, it's 40/108 bytes which should be safe. Signed-off-by: Dave Airlie ---