drm/vmwgfx: CRTC atomic state
authorSinclair Yeh <syeh@vmware.com>
Thu, 23 Mar 2017 18:33:39 +0000 (11:33 -0700)
committerSinclair Yeh <syeh@vmware.com>
Fri, 31 Mar 2017 16:13:08 +0000 (09:13 -0700)
commit9c2542a41f559452d570b96239a81038c49becfc
treed3f26c0c4579a8269cb7dbe43e13a7a18c1e19d2
parent36cc79bc9077319c04bd3b132edcacaa9a0d9f2b
drm/vmwgfx: CRTC atomic state

Create and Add CRTC state.  We currently do not track any properties
or custom states so we can technically use the DRM helpers.  Creating
this code just to make potential future additions easier.

Most of the new code will be compiled but not enabled until
plane/connector state handling code is also in place.

This is the first of a series to enable atomic mode set for vmwgfx.

The atomic enabling effort was done in collaboration with Thomas
Hellstrom and the VMware Graphics Team.

Signed-off-by: Sinclair Yeh <syeh@vmware.com>
Reviewed-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_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c
drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c