diff options
author | Christian König <christian.koenig@amd.com> | 2018-10-04 14:45:17 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2018-10-25 13:45:23 +0200 |
commit | 99fe21a76f0f2d36e5f9afc95ce6ed5cc354ebad (patch) | |
tree | 128be2859e481029bfa3b33e4903c5b38b489e28 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ca05359f1e64cf8303ee532e50efe4ab7563d4a9 (diff) |
dma-buf: test shared slot allocation when mutex debugging is active
Set shared_max to the number of shared fences right before we release
the lock.
This way every attempt to add a shared fence without previously
reserving a slot will cause an error.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Junwei Zhang <Jerry.Zhang@amd.com>
Link: https://patchwork.kernel.org/patch/10626147/
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions