OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/vmwgfx: Use a per-device semaphore for reservation protection
[android-x86/kernel.git]
/
drivers
/
gpu
/
drm
/
vmwgfx
/
vmwgfx_drv.h
diff --git
a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index
0783155
..
8c6b71f
100644
(file)
--- a/
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@
-487,6
+487,11
@@
struct vmw_private {
uint32_t num_3d_resources;
/*
+ * Replace this with an rwsem as soon as we have down_xx_interruptible()
+ */
+ struct ttm_lock reservation_sem;
+
+ /*
* Query processing. These members
* are protected by the cmdbuf mutex.
*/