drm/vmwgfx: Fix up the implicit display unit handling
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 4 Oct 2018 22:38:17 +0000 (22:38 +0000)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 5 Dec 2018 09:08:46 +0000 (10:08 +0100)
commit9d9486e43728cd513e10ed3dd54e156c8ab7bd2a
treefa679b71fb964e39ba3f6b5f76bc37be4b71a9a6
parent66502d494bfe894f30b6f0948de12adc6a325e8f
drm/vmwgfx: Fix up the implicit display unit handling

Make the connector is_implicit property immutable.
As far as we know, no user-space application is writing to it.

Also move the verification that all implicit display units scan out
from the same framebuffer to atomic_check().

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