search for: enter_atomic_mode_set

Displaying 2 results from an estimated 2 matches for "enter_atomic_mode_set".

2014 Mar 04
0
[PATCH] drm/nv04/disp: restore console accel after the modeset
...00644 --- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c @@ -915,13 +915,14 @@ nv04_crtc_mode_set_base_atomic(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(stru...
2020 Nov 06
4
[PATCH 0/3] drm/nouveau: extend the lifetime of nouveau_drm
Hi folks, Currently, when the device is removed (or the driver is unbound) the nouveau_drm structure de-allocated. However, it's still accessible from and used by some DRM layer callbacks. For example, file handles can be closed after the device has been removed (physically or otherwise). This series converts the Nouveau device structure to be allocated and de-allocated with the