summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/drm/pvr_drm.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/uapi/drm/pvr_drm.h b/include/uapi/drm/pvr_drm.h
index ccf6c2112468..1179c1e7d92d 100644
--- a/include/uapi/drm/pvr_drm.h
+++ b/include/uapi/drm/pvr_drm.h
@@ -435,6 +435,21 @@ struct drm_pvr_dev_query_static_data_areas {
};
/**
+ * struct drm_pvr_dev_query_fw_info - Container used to fetch information
+ * about the GPU Firmware like its version.
+ */
+struct drm_pvr_dev_query_fw_info {
+ /** @major_version: Major version of the Firmware. */
+ __u16 major_version;
+
+ /** @minor_version: Minor version of the Firmware. */
+ __u16 minor_version;
+
+ /** @_padding_4: Reserved. This field must be zeroed. */
+ __u32 _padding_4;
+};
+
+/**
* enum drm_pvr_dev_query - For use with &drm_pvr_ioctl_dev_query_args.type to
* indicate the type of the receiving container.
*
@@ -476,6 +491,12 @@ enum drm_pvr_dev_query {
* a pointer to &struct drm_pvr_dev_query_static_data_areas.
*/
DRM_PVR_DEV_QUERY_STATIC_DATA_AREAS_GET,
+
+ /**
+ * @DRM_PVR_DEV_QUERY_FW_INFO_GET: The dev query args contain
+ * a pointer to &struct drm_pvr_dev_query_fw_info.
+ */
+ DRM_PVR_DEV_QUERY_FW_INFO_GET,
};
/**