summaryrefslogtreecommitdiffstats
path: root/include/drm/ttm
diff options
context:
space:
mode:
authorChristian König2018-10-19 14:09:24 +0200
committerAlex Deucher2018-11-05 20:21:19 +0100
commit56b3d20413587fab6a790cfc8bc075ca94bc8ed9 (patch)
tree561821ec6cc176dc9db2a0ffa539b7556c516a8e /include/drm/ttm
parentdrm/ttm: use a static ttm_mem_global instance (diff)
downloadkernel-qcow2-linux-56b3d20413587fab6a790cfc8bc075ca94bc8ed9.tar.gz
kernel-qcow2-linux-56b3d20413587fab6a790cfc8bc075ca94bc8ed9.tar.xz
kernel-qcow2-linux-56b3d20413587fab6a790cfc8bc075ca94bc8ed9.zip
drm/ttm: make the device list mutex static
This way it can protect the whole BO global state. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm/ttm')
-rw-r--r--include/drm/ttm/ttm_bo_driver.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drm/ttm/ttm_bo_driver.h b/include/drm/ttm/ttm_bo_driver.h
index 4ae6fc33f761..9cec8835b88f 100644
--- a/include/drm/ttm/ttm_bo_driver.h
+++ b/include/drm/ttm/ttm_bo_driver.h
@@ -407,7 +407,6 @@ struct ttm_bo_global {
struct kobject kobj;
struct ttm_mem_global *mem_glob;
struct page *dummy_read_page;
- struct mutex device_list_mutex;
spinlock_t lru_lock;
/**