diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-03 16:14:25 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-11-05 17:05:53 +0100 |
commit | 301b3c787a139d448b7bd63016d63959b7ecdb67 (patch) | |
tree | 929e828ff544b162f45d6ecd7dbed685caa00596 /drivers | |
parent | 2ad2f0d5afb371f8d9cba3d11472a4c5d8ab1c64 (diff) | |
download | linux-stable-301b3c787a139d448b7bd63016d63959b7ecdb67.tar.gz linux-stable-301b3c787a139d448b7bd63016d63959b7ecdb67.tar.bz2 linux-stable-301b3c787a139d448b7bd63016d63959b7ecdb67.zip |
drm/mcde: Don't set struct drm_driver.lastclose
Don't set struct drm_driver.lastclose. It's used to restore the
fbdev console. But as mcde uses generic fbdev emulation, the
console is being restored by the DRM client helpers already. See
the call to drm_client_dev_restore() in drm_lastclose().
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221103151446.2638-3-tzimmermann@suse.de
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/mcde/mcde_drv.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mcde/mcde_drv.c b/drivers/gpu/drm/mcde/mcde_drv.c index 1c4482ad507d..38c3907bb151 100644 --- a/drivers/gpu/drm/mcde/mcde_drv.c +++ b/drivers/gpu/drm/mcde/mcde_drv.c @@ -203,7 +203,6 @@ DEFINE_DRM_GEM_DMA_FOPS(drm_fops); static const struct drm_driver mcde_drm_driver = { .driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_ATOMIC, - .lastclose = drm_fb_helper_lastclose, .ioctls = NULL, .fops = &drm_fops, .name = "mcde", |