diff options
| author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-04 17:18:25 +0200 |
|---|---|---|
| committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-07-06 10:01:19 +0200 |
| commit | 235d3e4fa115b39a72112f29ec5c84b847111edd (patch) | |
| tree | 42d254be795add7c8c5af2e91f75f687c8bdb145 /tools/perf/scripts/python | |
| parent | bdac4a052a47920eeae22441ab608612dc0ef4e5 (diff) | |
| download | kernel-235d3e4fa115b39a72112f29ec5c84b847111edd.tar.gz | |
drm/fb-helper: Drop locking from the vsync wait ioctl code
Like with the drm-native vblank wait ioctl we can entirely rely on the
spinlocks in drm_vblank.c, no need at all to take expensive mutexes.
The only reason we had to take mode_config.mutex was to protect the
fbdev helper's data-structures, but that's now done by
fb_helper->lock.
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thierry Reding <treding@nvidia.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170704151833.17304-6-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
