projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14660cc
)
vmwgfx: Close screen object system
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 9 Nov 2011 09:25:26 +0000
(10:25 +0100)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 11 Nov 2011 10:57:29 +0000
(10:57 +0000)
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
index
03daefa
..
f3ab1fe
100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_kms.c
@@
-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;
}