mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 18:10:11 +01:00
panfrost: Update panthor_drm.h with latest
Signed-off-by: Mary Guillemard <mary.guillemard@collabora.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30991>
This commit is contained in:
parent
c49a71c03c
commit
c0b55da825
1 changed files with 34 additions and 1 deletions
|
|
@ -263,6 +263,11 @@ enum drm_panthor_dev_query_type {
|
||||||
|
|
||||||
/** @DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO: Query timestamp information. */
|
/** @DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO: Query timestamp information. */
|
||||||
DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO,
|
DRM_PANTHOR_DEV_QUERY_TIMESTAMP_INFO,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @DRM_PANTHOR_DEV_QUERY_GROUP_PRIORITIES_INFO: Query allowed group priorities information.
|
||||||
|
*/
|
||||||
|
DRM_PANTHOR_DEV_QUERY_GROUP_PRIORITIES_INFO,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -399,6 +404,23 @@ struct drm_panthor_timestamp_info {
|
||||||
__u64 timestamp_offset;
|
__u64 timestamp_offset;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct drm_panthor_group_priorities_info - Group priorities information
|
||||||
|
*
|
||||||
|
* Structure grouping all queryable information relating to the allowed group priorities.
|
||||||
|
*/
|
||||||
|
struct drm_panthor_group_priorities_info {
|
||||||
|
/**
|
||||||
|
* @allowed_mask: Bitmask of the allowed group priorities.
|
||||||
|
*
|
||||||
|
* Each bit represents a variant of the enum drm_panthor_group_priority.
|
||||||
|
*/
|
||||||
|
__u8 allowed_mask;
|
||||||
|
|
||||||
|
/** @pad: Padding fields, MBZ. */
|
||||||
|
__u8 pad[3];
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct drm_panthor_dev_query - Arguments passed to DRM_PANTHOR_IOCTL_DEV_QUERY
|
* struct drm_panthor_dev_query - Arguments passed to DRM_PANTHOR_IOCTL_DEV_QUERY
|
||||||
*/
|
*/
|
||||||
|
|
@ -714,8 +736,19 @@ enum drm_panthor_group_priority {
|
||||||
/** @PANTHOR_GROUP_PRIORITY_MEDIUM: Medium priority group. */
|
/** @PANTHOR_GROUP_PRIORITY_MEDIUM: Medium priority group. */
|
||||||
PANTHOR_GROUP_PRIORITY_MEDIUM,
|
PANTHOR_GROUP_PRIORITY_MEDIUM,
|
||||||
|
|
||||||
/** @PANTHOR_GROUP_PRIORITY_HIGH: High priority group. */
|
/**
|
||||||
|
* @PANTHOR_GROUP_PRIORITY_HIGH: High priority group.
|
||||||
|
*
|
||||||
|
* Requires CAP_SYS_NICE or DRM_MASTER.
|
||||||
|
*/
|
||||||
PANTHOR_GROUP_PRIORITY_HIGH,
|
PANTHOR_GROUP_PRIORITY_HIGH,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @PANTHOR_GROUP_PRIORITY_REALTIME: Realtime priority group.
|
||||||
|
*
|
||||||
|
* Requires CAP_SYS_NICE or DRM_MASTER.
|
||||||
|
*/
|
||||||
|
PANTHOR_GROUP_PRIORITY_REALTIME,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue