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)
commitc6c1f325adc8a8e0cd06c6ad0ca232a6880a1783
tree152ff7de764ce9d90183515b4c59098f0e232ba9
parent1b28c3e628315ac0d9ef2d3fac0403f05ae692db
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