]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit910837ff3090764d86bfbb72af26b269774f48de
treefa679b71fb964e39ba3f6b5f76bc37be4b71a9a6
parentd48281913579b07a82ae1461787215ecb2daeeee
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