modesetting: Fix the call to function set_mode_major

In drmmode_set_desired_modes(), the call crtc->funcs->set_mode_major
is split in the source code, resulting in garbage values.
This eventually breaks multiple functionalities like VTswitch and
there by system suspend/resume.

Closes: #1010

Signed-off-by: Kishore Kadiyala <>
4 jobs for kk_upstream in 6 minutes and 52 seconds (queued for 8 seconds)