aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König2018-02-26 05:30:36 -0600
committerChristian König2018-02-28 06:27:38 -0600
commitcd8a80493beea4fbdd0a2e0b68ef0adbdaac1133 (patch)
tree14354a05b0ec22fda9e4d40189caa9f5ff9c6dad /amdgpu/amdgpu_internal.h
parent1384c0812337515694731a18643faf504402bece (diff)
downloadexternal-libdrm-cd8a80493beea4fbdd0a2e0b68ef0adbdaac1133.tar.gz
external-libdrm-cd8a80493beea4fbdd0a2e0b68ef0adbdaac1133.tar.xz
external-libdrm-cd8a80493beea4fbdd0a2e0b68ef0adbdaac1133.zip
amdgpu: mostly revert "use the high VA range if possible v2"
This reverts commit 07ea20d5beb24315b721adf83bbfa72ce016e146. Unfortunately it turned out that this change broke some corner cases in Mesa. Revert it for now, but keep the high range in separate VA managers. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'amdgpu/amdgpu_internal.h')
-rw-r--r--amdgpu/amdgpu_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/amdgpu/amdgpu_internal.h b/amdgpu/amdgpu_internal.h
index dd0c3a61..423880ed 100644
--- a/amdgpu/amdgpu_internal.h
+++ b/amdgpu/amdgpu_internal.h
@@ -84,10 +84,14 @@ struct amdgpu_device {
84 pthread_mutex_t bo_table_mutex; 84 pthread_mutex_t bo_table_mutex;
85 struct drm_amdgpu_info_device dev_info; 85 struct drm_amdgpu_info_device dev_info;
86 struct amdgpu_gpu_info info; 86 struct amdgpu_gpu_info info;
87 /** The global VA manager for the whole virtual address space */ 87 /** The VA manager for the lower virtual address space */
88 struct amdgpu_bo_va_mgr vamgr; 88 struct amdgpu_bo_va_mgr vamgr;
89 /** The VA manager for the 32bit address space */ 89 /** The VA manager for the 32bit address space */
90 struct amdgpu_bo_va_mgr vamgr_32; 90 struct amdgpu_bo_va_mgr vamgr_32;
91 /** The VA manager for the high virtual address space */
92 struct amdgpu_bo_va_mgr vamgr_high;
93 /** The VA manager for the 32bit high address space */
94 struct amdgpu_bo_va_mgr vamgr_high_32;
91}; 95};
92 96
93struct amdgpu_bo { 97struct amdgpu_bo {