diff options
author | 2020-05-13 08:47:47 +0100 | |
---|---|---|
committer | 2020-05-13 13:38:59 +0100 | |
commit | 1c530d431c698f156538b8954b07df95337beb34 (patch) | |
tree | 06a1acc1f0cd38f59b2b4b6adc653d7a0a461daa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/mcde: dsi: Fix return value check in mcde_dsi_bind() (diff) | |
download | linux-dev-1c530d431c698f156538b8954b07df95337beb34.tar.xz linux-dev-1c530d431c698f156538b8954b07df95337beb34.zip |
dma-buf: Use atomic_fetch_add() for the context id
Now that atomic64_fetch_add() exists we can use it to return the base
context id, rather than the atomic64_add_return(N) - N concoction.
Suggested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Maciej Patelczyk <maciej.patelczyk@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200513074809.18194-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions