commit | 27eb1fa9130a98edd2b321d4dbce5c8b244ee7af | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Fri Oct 19 13:49:05 2018 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Nov 05 14:21:18 2018 -0500 |
tree | b94c90b1cec5a325161051012797155964ce0331 | |
parent | 7e07834c12b96214e95a473f7b14fc03b20e2e7a [diff] |
drm/ttm: use a static ttm_mem_global instance As the name says we only need one global instance of ttm_mem_global. Drop all the driver initialization and just use a single exported instance which is initialized during BO global initialization. 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>