OSDN Git Service

drm/bochs: add missing drm_atomic_helper_shutdown() call.
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 1 Apr 2019 14:03:05 +0000 (16:03 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Apr 2019 09:00:45 +0000 (11:00 +0200)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20190401140306.28063-3-kraxel@redhat.com
drivers/gpu/drm/bochs/bochs_kms.c

index 9e7cd6b..93cb27f 100644 (file)
@@ -293,6 +293,7 @@ int bochs_kms_init(struct bochs_device *bochs)
 void bochs_kms_fini(struct bochs_device *bochs)
 {
        if (bochs->mode_config_initialized) {
+               drm_atomic_helper_shutdown(bochs->dev);
                drm_mode_config_cleanup(bochs->dev);
                bochs->mode_config_initialized = false;
        }