diff options
author | Daniel Vetter <[email protected]> | 2015-11-23 10:32:53 +0100 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-12-01 10:05:11 +0100 |
commit | 737292a3c0f251a93dcce4bedf7e4accb35335bc (patch) | |
tree | 6849b21eb6b3ac4601174a91763c41dc5b6db95e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0e3089fa50df00b963067aa5a34d5fc01d93802a (diff) |
drm/gma500: Add driver private mutex for the fault handler
There's currently two places where the gma500 fault handler relies
upon dev->struct_mutex:
- To protect r->mappping
- To make sure vm_insert_pfn isn't called concurrently (in which case
the 2nd thread would get an error code).
Everything else (specifically psb_gtt_pin) is already protected by
some other locks. Hence just create a new driver-private mmap_mutex
just for this function.
With this gma500 is complete dev->struct_mutex free!
Cc: Patrik Jakobsson <[email protected]>
Acked-by: Patrik Jakobsson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions