drm/ttm: make the device list mutex static
authorChristian König <christian.koenig@amd.com>
Fri, 19 Oct 2018 12:09:24 +0000 (14:09 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Nov 2018 19:21:19 +0000 (14:21 -0500)
commit56b3d20413587fab6a790cfc8bc075ca94bc8ed9
tree561821ec6cc176dc9db2a0ffa539b7556c516a8e
parent27eb1fa9130a98edd2b321d4dbce5c8b244ee7af
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>
drivers/gpu/drm/ttm/ttm_bo.c
include/drm/ttm/ttm_bo_driver.h