aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2021-03-29 16:38:35 +0300
committerThierry Reding <[email protected]>2021-03-31 17:42:14 +0200
commit5a8d95d20c406c673258edd4c2bd308c22304657 (patch)
tree0f335352bc18763b99688b76da22d105a38d36da /tools/perf/scripts/python/export-to-sqlite.py
parentf5ba33fb9690566c382624637125827b5512e766 (diff)
gpu: host1x: Assign intr waiter inside lock
Move the assignment of the ref out-pointer in host1x_intr_add_action to happen within the spinlock. With the current arrangement, it is possible for the waiter to complete before the assignment has happened, which breaks horribly if the waiter completion callback tries to use the reference. In practice, there is currently no situation where this issue can manifest -- it was first noticed with the upcoming DMA fence implementation patches. As such this doesn't need to be backported. Signed-off-by: Mikko Perttunen <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions