diff options
author | Daniel Vetter <[email protected]> | 2017-06-20 22:28:37 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2017-06-21 09:18:44 +0200 |
commit | e94ac3510b6a0f696f2c442c4fc4051c8101ef12 (patch) | |
tree | 88fa50e33f18b7fd526da4eff6cebcda34c67b01 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0f933328f018c118ded2035f12068bbdfdef399d (diff) |
drm: Fix GETCONNECTOR regression
In
commit 91eefc05f0ac71902906b2058360e61bd25137fe
Author: Daniel Vetter <[email protected]>
Date: Wed Dec 14 00:08:10 2016 +0100
drm: Tighten locking in drm_mode_getconnector
I reordered the logic a bit in that IOCTL, but that broke userspace
since it'll get the new mode list, but not the new property values.
Fix that again.
v2: Fix up the error path handling when copy_to_user for the modes
failes (Dhinakaran).
Fixes: 91eefc05f0ac ("drm: Tighten locking in drm_mode_getconnector")
Cc: Sean Paul <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Jani Nikula <[email protected]>
Cc: David Airlie <[email protected]>
Cc: [email protected]
Reported-by: "H.J. Lu" <[email protected]>
Tested-by: "H.J. Lu" <[email protected]>
Cc: <[email protected]> # v4.11+
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100576
Cc: "H.J. Lu" <[email protected]>
Cc: "Pandiyan, Dhinakaran" <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Reviewed-by: Dhinakaran Pandiyan <[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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions