summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-11-07 15:31:45 +0100
committerChristian König <christian.koenig@amd.com>2017-11-08 16:12:56 +0100
commit6c0ea4b0c5452bfc1e67b74ce723696ef3c80b25 (patch)
tree02a57346b76fc62aed571108fdcbc9ef570e3599 /include
parent944f6665de36b6a6c36263f23b7b9d1730e544fa (diff)
downloaddrm-6c0ea4b0c5452bfc1e67b74ce723696ef3c80b25.tar.gz
amdgpu: use the high VA range if possible
This frees up the low range for HMM. Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h
index 919248fb..a023b476 100644
--- a/include/drm/amdgpu_drm.h
+++ b/include/drm/amdgpu_drm.h
@@ -869,6 +869,10 @@ struct drm_amdgpu_info_device {
__u32 _pad1;
/* always on cu bitmap */
__u32 cu_ao_bitmap[4][4];
+ /** Starting high virtual address for UMDs. */
+ __u64 high_va_offset;
+ /** The maximum high virtual address */
+ __u64 high_va_max;
};
struct drm_amdgpu_info_hw_ip {