summaryrefslogtreecommitdiff
path: root/include/uapi/drm/amdgpu_drm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-03-16 19:04:53 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-03-21 07:42:49 +0300
commit3ac952b10dec55e50312340ca4cf8f631944ae17 (patch)
treec15376ca81fef57390603f688a1dc4c0b4734798 /include/uapi/drm/amdgpu_drm.h
parent690dc62662efae206608f2951d0d7a7fb61ba8f7 (diff)
downloadlinux-3ac952b10dec55e50312340ca4cf8f631944ae17.tar.xz
drm/amdgpu: add VCN to firmware query interface
Need to be able to query the VCN firmware version from userspace to determine supported features, etc. Reviewed-by: Huang Rui <ray.huang@amd.com> Acked-by: Leo Liu <leo.liu@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.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 528f6d041e90..c363b67f2d0a 100644
--- a/include/uapi/drm/amdgpu_drm.h
+++ b/include/uapi/drm/amdgpu_drm.h
@@ -618,6 +618,8 @@ struct drm_amdgpu_cs_chunk_data {
#define AMDGPU_INFO_FW_SOS 0x0c
/* Subquery id: Query PSP ASD firmware version */
#define AMDGPU_INFO_FW_ASD 0x0d
+ /* Subquery id: Query VCN firmware version */
+ #define AMDGPU_INFO_FW_VCN 0x0e
/* number of bytes moved for TTM migration */
#define AMDGPU_INFO_NUM_BYTES_MOVED 0x0f
/* the used VRAM size */