drm/vmwgfx: Add gui_x/y to vmw_connector_state
authorDeepak Rawat <drawat@vmware.com>
Wed, 20 Jun 2018 09:34:26 +0000 (11:34 +0200)
committerThomas Hellstrom <thellstrom@vmware.com>
Tue, 3 Jul 2018 18:39:46 +0000 (20:39 +0200)
commit3e79ecdad8897dad4d311576989b6856dbcb958e
treed557670a0ca383d95b9db4ef86f57a1c0aabb87a
parentb89e5ff9eeeb8b1fe3d2d7477fb9e1c1aed5dd5b
drm/vmwgfx: Add gui_x/y to vmw_connector_state

As gui_x/y positioning is display unit is protected by
requested_layout_mutex adding vmw_connector_state copy of the same and
modeset commit will refer the state copy to sync with modeset_check
state.

v2: Tested with CONFIG_PROVE_LOCKING enabled.

Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
drivers/gpu/drm/vmwgfx/vmwgfx_kms.h
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c