diff options
| author | Noralf Trønnes <[email protected]> | 2018-03-28 10:38:35 +0300 |
|---|---|---|
| committer | Oleksandr Andrushchenko <[email protected]> | 2018-03-29 13:19:20 +0300 |
| commit | bee330f3d67273a68dcb99f59480d59553c008b2 (patch) | |
| tree | abe48e9b35c199bf691b02efc40a5291f2391b40 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 790861cc34f872015806cef311d5c64cc3167a0d (diff) | |
drm: Use srcu to protect drm_device.unplugged
Use srcu to protect drm_device.unplugged in a race free manner.
Drivers can use drm_dev_enter()/drm_dev_exit() to protect and mark
sections preventing access to device resources that are not available
after the device is gone.
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Noralf Trønnes <[email protected]>
Signed-off-by: Oleksandr Andrushchenko <[email protected]>
Reviewed-by: Oleksandr Andrushchenko <[email protected]>
Tested-by: Oleksandr Andrushchenko <[email protected]>
Cc: [email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://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