search for: leave_atomic_mode_set

Displaying 1 result from an estimated 1 matches for "leave_atomic_mode_set".

2014 Mar 04
0
[PATCH] drm/nv04/disp: restore console accel after the modeset
...tomic(struct drm_crtc *crtc, { struct nouveau_drm *drm = nouveau_drm(crtc->dev); struct drm_device *dev = drm->dev; + int ret; if (state == ENTER_ATOMIC_MODE_SET) nouveau_fbcon_save_disable_accel(dev); - else + ret = nv04_crtc_do_mode_set_base(crtc, fb, x, y, true); + if (state == LEAVE_ATOMIC_MODE_SET) nouveau_fbcon_restore_accel(dev); - - return nv04_crtc_do_mode_set_base(crtc, fb, x, y, true); + return ret; } static void nv04_cursor_upload(struct drm_device *dev, struct nouveau_bo *src, -- 1.9.0