commit | b89e5ff9eeeb8b1fe3d2d7477fb9e1c1aed5dd5b | [log] [tgz] |
---|---|---|
author | Deepak Rawat <drawat@vmware.com> | Wed Jun 20 11:32:29 2018 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Tue Jul 03 20:39:30 2018 +0200 |
tree | 0ae81b27b297a1482b00587baceeebd451fa33f7 | |
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>