drm/amdgpu: Add DMCUB to firmware query interface
The DMCUB firmware version can be read using the AMDGPU_INFO ioctl or the amdgpu_firmware_info debugfs entry. Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Reviewed-by: Hersen Wu <hersenxs.wu@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:

committed by
Alex Deucher

parent
743b9786b1
commit
976e51a7c0
@@ -703,6 +703,9 @@ struct drm_amdgpu_cs_chunk_data {
|
||||
/* Subquery id: Query DMCU firmware version */
|
||||
#define AMDGPU_INFO_FW_DMCU 0x12
|
||||
#define AMDGPU_INFO_FW_TA 0x13
|
||||
/* Subquery id: Query DMCUB firmware version */
|
||||
#define AMDGPU_INFO_FW_DMCUB 0x14
|
||||
|
||||
/* number of bytes moved for TTM migration */
|
||||
#define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f
|
||||
/* the used VRAM size */
|
||||
|
Reference in New Issue
Block a user