]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc56598fa0aa77aaba81613d4de6c220b86ab21b7
treed3f26c0c4579a8269cb7dbe43e13a7a18c1e19d2
parent8605ac2857939eea4ae986d7199936cb5773791d
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