diff options
| author | Rex Zhu <Rex.Zhu@amd.com> | 2016-05-12 08:27:28 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2016-05-13 21:30:22 +0300 |
| commit | d573de2d00835e38cef1fb4bff7b49c174c68941 (patch) | |
| tree | cb84cee91af7122f9503796aa5b390d47b83d999 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 8b41e7a03a306d93276f91c1dae39dc51a1af58d (diff) | |
| download | linux-d573de2d00835e38cef1fb4bff7b49c174c68941.tar.xz | |
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
