mirror of https://gitee.com/openkylin/linux.git
vmwgfx: Close screen object system
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
14660ccd59
commit
c0d18316ae
|
@ -1323,7 +1323,10 @@ int vmw_kms_close(struct vmw_private *dev_priv)
|
|||
* drm_encoder_cleanup which takes the lock we deadlock.
|
||||
*/
|
||||
drm_mode_config_cleanup(dev_priv->dev);
|
||||
vmw_kms_close_legacy_display_system(dev_priv);
|
||||
if (dev_priv->sou_priv)
|
||||
vmw_kms_close_screen_object_display(dev_priv);
|
||||
else
|
||||
vmw_kms_close_legacy_display_system(dev_priv);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue