]> 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)
commitafc4238f7e7604969df2c979c98612a5be902c39
tree152ff7de764ce9d90183515b4c59098f0e232ba9
parent76a2c11d6d7849f4338c30348b3dafafaeb60928
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