diff options
| author | Noralf Trønnes <noralf@tronnes.org> | 2018-03-28 10:38:35 +0300 |
|---|---|---|
| committer | Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> | 2018-03-29 13:19:20 +0300 |
| commit | bee330f3d67273a68dcb99f59480d59553c008b2 (patch) | |
| tree | abe48e9b35c199bf691b02efc40a5291f2391b40 /tools/perf/scripts/python/bin | |
| parent | drm: add parameter explanation for some gem dmabuf_ops (diff) | |
| download | linux-bee330f3d67273a68dcb99f59480d59553c008b2.tar.gz linux-bee330f3d67273a68dcb99f59480d59553c008b2.zip | |
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 <daniel.vetter@ffwll.ch>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Tested-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Cc: intel-gfx@lists.freedesktop.org
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1522222715-11814-1-git-send-email-andr2000@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
