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>
This commit is contained in:
Christian König
2018-10-19 14:09:24 +02:00
committed by Alex Deucher
parent 27eb1fa913
commit 56b3d20413
2 changed files with 9 additions and 6 deletions

View File

@ -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;
/**