summaryrefslogtreecommitdiffstats
path: root/src/amd/common/ac_gpu_info.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2017-05-23 18:40:18 +0200
committerChristian König <[email protected]>2017-05-24 10:32:19 +0200
commit5318870f5457104aae87d7cd81b347e1aea231ea (patch)
tree39e62483c10463cbd1530162d07109bdbbae36e9 /src/amd/common/ac_gpu_info.h
parent51dc5e3df38b2be0549c96b52548df1c92e36e96 (diff)
winsys/amdgpu: align VA allocations to fragment size v2
BOs larger than the minimum fragment size should have their VA alignet to at least the fragment size for optimal performance. v2: drop unused leftover from initial implementation Signed-off-by: Christian König <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/amd/common/ac_gpu_info.h')
-rw-r--r--src/amd/common/ac_gpu_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/common/ac_gpu_info.h b/src/amd/common/ac_gpu_info.h
index d8029ef175b..3785eb4d164 100644
--- a/src/amd/common/ac_gpu_info.h
+++ b/src/amd/common/ac_gpu_info.h
@@ -45,6 +45,7 @@ struct radeon_info {
uint32_t pci_id;
enum radeon_family family;
enum chip_class chip_class;
+ uint32_t pte_fragment_size;
uint32_t gart_page_size;
uint64_t gart_size;
uint64_t vram_size;