]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/qxl: do not run release if qxl failed to init"
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 4 Feb 2021 14:57:03 +0000 (15:57 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 5 Feb 2021 07:52:15 +0000 (08:52 +0100)
commitcd3aa74256be649b8f78b6f29e506c7232d1c001
treea6c461b28fe4d288a704331249bad787b21cff1a
parent7074d2d3241e2cbc0b05f9819c8829b8d526c983
Revert "drm/qxl: do not run release if qxl failed to init"

This reverts commit 61c3a832aa2ba88fcfb78597ad42533dc8cb8d2a.

Patch is broken, it effectively makes qxl_drm_release() a nop
because on normal driver shutdown qxl_drm_release() is called
*after* drm_dev_unregister().

Fixes: 61c3a832aa2b ("drm/qxl: do not run release if qxl failed to init")
Cc: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20210204145712.1531203-3-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_drv.c