diff options
author | 2016-05-12 13:27:28 +0800 | |
---|---|---|
committer | 2016-05-13 14:30:22 -0400 | |
commit | d573de2d00835e38cef1fb4bff7b49c174c68941 (patch) | |
tree | cb84cee91af7122f9503796aa5b390d47b83d999 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/powerplay: move asic unrelated function to hwmgr.c. (diff) | |
download | wireguard-linux-d573de2d00835e38cef1fb4bff7b49c174c68941.tar.xz wireguard-linux-d573de2d00835e38cef1fb4bff7b49c174c68941.zip |
drm/amdgpu: create fence slab once when amdgpu module init.
This avoids problems with multiple GPUs. For example,
if the first GPU failed before amdgpu_fence_init() was
called, amdgpu_fence_slab_ref is still 0 and it will
get decremented in amdgpu_fence_driver_fini(). This
will lead to a crash during init of the second GPU since
amdgpu_fence_slab_ref is not 0.
v2: add functions for init/exit instead of
moving the variables into the driver.
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions