diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-03 11:32:54 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-05 10:27:07 +0300 |
commit | c2d855649e303523787473d388931948e8fbf93d (patch) | |
tree | d4aeef90a8275d541aa6f88eeed064ac11cdeb3a /tools/perf/scripts/python/stackcollapse.py | |
parent | a5b8444e289c9e759927f9bf2e82f10719729fe7 (diff) | |
download | linux-c2d855649e303523787473d388931948e8fbf93d.tar.xz |
drm: drop modeset_lock_all from drm_state_info
If we push the locks down we don't have to take them all at the same
time.
Aside: Making dump_info fully safe should be fairly simple, if we
protect the ->state pointers with rcu. Simply putting a
synchronize_rcu() into the drm_atomic_state free function should be
all that's roughly needed. Well except we shouldn't block in there, so
better to put that into a work_struct. But I've not set out to fix
that little issue.
Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170403083304.9083-6-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions