commit | d81a2209498b6349a33f8741ca5a062dde84c043 | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Fri Sep 29 10:12:53 2017 +1000 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Sep 29 12:24:36 2017 -0400 |
tree | c4c5daf315a6ccfc945cca68f625523cbd9dfa73 | |
parent | 20a3a71da542974a7ba30b121c5f81b83579c828 [diff] |
amdgfx/gfx: don't use static objects for ce/de meta. (v2) 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. Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>