Revert "drm/qxl: do not run release if qxl failed to init"
commit93d8da8d7eupstream. This reverts commitb91907a624. 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:b91907a624("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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
06f414e5c9
commit
6b922dc1d1
1 changed files with 0 additions and 2 deletions
|
|
@ -144,8 +144,6 @@ static void qxl_drm_release(struct drm_device *dev)
|
|||
* reodering qxl_modeset_fini() + qxl_device_fini() calls is
|
||||
* non-trivial though.
|
||||
*/
|
||||
if (!dev->registered)
|
||||
return;
|
||||
qxl_modeset_fini(qdev);
|
||||
qxl_device_fini(qdev);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue