diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-03 11:32:56 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-05 10:27:39 +0300 |
commit | 04ee39ba9fff5bf6278328e2da1740001159c4c6 (patch) | |
tree | f324808c625b97a78004dfcda9bbc9cac9a11de2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | eb8eb02ed850df95ba2224515b95eb311904e992 (diff) | |
download | linux-04ee39ba9fff5bf6278328e2da1740001159c4c6.tar.xz |
drm: Only take crtc lock in get_gamma ioctl
We don't call into drivers at all here, this is enough. Also, we can
reduce the critical section a bit to simplify the code.
crtc->gamma_size is set up once at driver load and then invariant, so
also doesn't need any protection.
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-8-daniel.vetter@ffwll.ch
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions