diff options
author | Christian König <christian.koenig@amd.com> | 2018-10-19 14:09:24 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-11-05 14:21:19 -0500 |
commit | 56b3d20413587fab6a790cfc8bc075ca94bc8ed9 (patch) | |
tree | 561821ec6cc176dc9db2a0ffa539b7556c516a8e /include/drm | |
parent | 27eb1fa9130a98edd2b321d4dbce5c8b244ee7af (diff) | |
download | linux-56b3d20413587fab6a790cfc8bc075ca94bc8ed9.tar.bz2 |
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')
-rw-r--r-- | include/drm/ttm/ttm_bo_driver.h | 1 |
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; /** |