mirror of
https://github.com/torvalds/linux.git
synced 2026-12-06 05:14:35 +00:00
The drm_driver lastclose callback is called when the last userspace
DRM client has closed. Call drm_fbdev_cma_restore_mode to restore
the fbdev console otherwise the fbdev console will stop working.
Fixes: 9026e0d122 ("drm: Add Allwinner A10 Display Engine support")
Cc: [email protected]
Tested-by: Olliver Schinagl <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Jonathan Liu <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>