summaryrefslogtreecommitdiffstats
path: root/include/uapi/drm
diff options
context:
space:
mode:
authorHuang Rui <ray.huang@amd.com>2020-07-20 16:11:10 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-10-05 15:15:27 -0400
commit6fbcb00c7984fa7d49af2c361453c0397cdea400 (patch)
treee859e4a885325efde416b82368dcb1695d6e1ff4 /include/uapi/drm
parentc821e0fbb2584bd565c3276d06f0d0889c04db59 (diff)
drm/amdgpu: add TOC firmware definition
This patch is to add TOC firmware definition on uapi. Signed-off-by: Huang Rui <ray.huang@amd.com> Acked-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/drm/amdgpu_drm.h b/include/uapi/drm/amdgpu_drm.h
index 41edf27fc1ee..f7d7bce7d3b0 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -724,6 +724,8 @@ struct drm_amdgpu_cs_chunk_data {
#define AMDGPU_INFO_FW_TA 0x13
/* Subquery id: Query DMCUB firmware version */
#define AMDGPU_INFO_FW_DMCUB 0x14
+ /* Subquery id: Query TOC firmware version */
+ #define AMDGPU_INFO_FW_TOC 0x15
/* number of bytes moved for TTM migration */
#define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f