diff options
author | Deepak Rawat <drawat@vmware.com> | 2018-04-17 14:54:13 -0700 |
---|---|---|
committer | Deepak Rawat <drawat@vmware.com> | 2018-05-07 14:44:25 -0700 |
commit | ef84b6e318968c29bbe5e829b65072b353c66da4 (patch) | |
tree | 013d866e999d01a6da230bdd0fda4f4ebe8d4128 /ttm | |
parent | 433bbe3e5c075c19436722b9a28dd44619f5966d (diff) |
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.
v2: Tested with CONFIG_PROVE_LOCKING enabled.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'ttm')
0 files changed, 0 insertions, 0 deletions