drm/amdgpu: add TOC firmware definition
authorHuang Rui <ray.huang@amd.com>
Mon, 20 Jul 2020 08:11:10 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:15:27 +0000 (15:15 -0400)
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>
include/uapi/drm/amdgpu_drm.h

index 41edf27..f7d7bce 100644 (file)
@@ -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