drm/vmwgfx: Add universal plane support
authorSinclair Yeh <syeh@vmware.com>
Thu, 23 Mar 2017 18:28:11 +0000 (11:28 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 16:13:08 +0000 (09:13 -0700)
commit36cc79bc9077319c04bd3b132edcacaa9a0d9f2b
tree85674576ea3047d63c069cb3ae7ce73bfce90c41
parent27d247c678a09fcac08d6865db73e41b23d3d5f3
drm/vmwgfx: Add universal plane support

Universal support is prerequisite for atomic mode set.

Explicitly create planes for the cursor and the primary FB.  With
a functional cursor plane, the DRM will no longer use the legacy
cursor_set2 and cursor_move entry points.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
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