diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-06-20 11:32:29 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-07-03 20:39:30 +0200 |
commit | b89e5ff9eeeb8b1fe3d2d7477fb9e1c1aed5dd5b (patch) | |
tree | 0ae81b27b297a1482b00587baceeebd451fa33f7 /drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | |
parent | 018f60b26602bb41b33139da3408224e36dfe02d (diff) |
drm/vmwgfx: Use a mutex to protect gui positioning in vmw_display_unit
To avoid race condition between update_layout ioctl and modeset ioctl
for access to gui_x/y positioning added a new mutex
requested_layout_mutex.
Also used drm_for_each_connector_iter to iterate over connector list.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c')
0 files changed, 0 insertions, 0 deletions