fixup crtcinfo on modes from userspace

main
Dave Airlie 2008-01-09 18:11:17 +11:00
parent 87a32efcdd
commit e04d942ee8
1 changed files with 1 additions and 0 deletions

View File

@ -1548,6 +1548,7 @@ int drm_mode_setcrtc(struct drm_device *dev,
mode = drm_mode_create(dev);
drm_crtc_convert_umode(mode, &crtc_req->mode);
drm_mode_set_crtcinfo(mode, CRTC_INTERLACE_HALVE_V);
}
if (crtc_req->count_outputs == 0 && mode) {