]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vmwgfx: Correctly set the enabled state on crtcs
authorThomas Hellstrom <thellstrom@vmware.com>
Thu, 14 Nov 2013 11:11:10 +0000 (03:11 -0800)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 4 Dec 2013 20:03:45 +0000 (12:03 -0800)
commit09281d1e3f3a621e1bcfd70f699f9961e7d53e3c
tree152ff7de764ce9d90183515b4c59098f0e232ba9
parente5dcb3846ae81a3d312f5795861fd2c2015a2501
drm/vmwgfx: Correctly set the enabled state on crtcs

Failure to do this would make the drm_mode_get_crtc ioctl return
without crtc mode info, indicating that no mode was set.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c
drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c