summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorAlex Deucher2017-03-28 18:52:08 +0200
committerAlex Deucher2017-03-30 05:54:38 +0200
commitbce23e00f3369ce8c32c90f087e37c01f83002d1 (patch)
tree3df0d81efff53d806dac25a7463f0d7aad5a2a5e /include/uapi/drm/amdgpu_drm.h
parentdrm/amdgpu: add PTE defines for MTYPE (diff)
downloadkernel-qcow2-linux-bce23e00f3369ce8c32c90f087e37c01f83002d1.tar.gz
kernel-qcow2-linux-bce23e00f3369ce8c32c90f087e37c01f83002d1.tar.xz
kernel-qcow2-linux-bce23e00f3369ce8c32c90f087e37c01f83002d1.zip
drm/amdgpu: add NGG parameters
NGG (Next Generation Graphics) is a new feature in GFX9.0. This adds the relevant parameters. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/uapi/drm/amdgpu_drm.h')
-rw-r--r--include/uapi/drm/amdgpu_drm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 5d8e7090fe9e..d3f121a02bed 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -743,6 +743,14 @@ struct drm_amdgpu_info_device {
__u32 vce_harvest_config;
/* gfx double offchip LDS buffers */
__u32 gc_double_offchip_lds_buf;
+ /* NGG Primitive Buffer */
+ __u64 prim_buf_gpu_addr;
+ /* NGG Position Buffer */
+ __u64 pos_buf_gpu_addr;
+ /* NGG Control Sideband */
+ __u64 cntl_sb_buf_gpu_addr;
+ /* NGG Parameter Cache */
+ __u64 param_buf_gpu_addr;
};
struct drm_amdgpu_info_hw_ip {