summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-11-07 12:03:31 +0100
committerAlex Deucher <alexander.deucher@amd.com>2017-12-06 12:48:05 -0500
commit5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66 (patch)
treead326d1021db14885adf202646210ef4a8f30878 /include/uapi/drm
parent4b7f0848c4e1e7a92cc3c0243a38a8f183c9b869 (diff)
downloadlinux-5b565e0e5a9872f8c5a459ce53f8d6a4b19a1a66.tar.bz2
drm/amdgpu: expose the VA above the hole to userspace
Let userspace know how much area we have above the 48bit VA hole on Vega10. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm')
-rw-r--r--include/uapi/drm/amdgpu_drm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 0e23ce3f3113..4d21191aaed0 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -877,6 +877,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 {