diff options
| author | Daniel Vetter <[email protected]> | 2017-04-03 10:32:56 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2017-04-05 09:27:39 +0200 |
| commit | 04ee39ba9fff5bf6278328e2da1740001159c4c6 (patch) | |
| tree | f324808c625b97a78004dfcda9bbc9cac9a11de2 /tools/perf/scripts/python | |
| parent | eb8eb02ed850df95ba2224515b95eb311904e992 (diff) | |
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 <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions