Merge commit '06d1ee32a4d25356a710b49d5e95dbdd68bdf505' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next
Backmerge the drm-fixes pull from Linus's tree into drm-next. This is to fix some conflicts and make future pulls cleaner
This commit is contained in:
@@ -442,7 +442,11 @@ static int restore_fbdev_mode(struct drm_fb_helper *fb_helper)
|
||||
struct drm_crtc *crtc = mode_set->crtc;
|
||||
int ret;
|
||||
|
||||
if (crtc->funcs->cursor_set) {
|
||||
if (crtc->funcs->cursor_set2) {
|
||||
ret = crtc->funcs->cursor_set2(crtc, NULL, 0, 0, 0, 0, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
} else if (crtc->funcs->cursor_set) {
|
||||
ret = crtc->funcs->cursor_set(crtc, NULL, 0, 0, 0);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user