XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_panthor_dev_query Struct Reference

#include <panthor_drm.h>

Public Attributes

__u32 type
 
__u32 size
 
__u64 pointer
 

Detailed Description

struct drm_panthor_dev_query - Arguments passed to DRM_PANTHOR_IOCTL_DEV_QUERY

Member Data Documentation

◆ pointer

__u64 drm_panthor_dev_query::pointer

@pointer: user pointer to a query type struct.

Pointer can be NULL, in which case, nothing is copied, but the actual structure size is returned. If not NULL, it must point to a location that's large enough to hold size bytes.

◆ size

__u32 drm_panthor_dev_query::size

@size: size of the type being queried.

If pointer is NULL, size is updated by the driver to provide the output structure size. If pointer is not NULL, the driver will only copy min(size, actual_structure_size) bytes to the pointer, and update the size accordingly. This allows us to extend query types without breaking userspace.

◆ type

__u32 drm_panthor_dev_query::type

@type: the query type (see drm_panthor_dev_query_type).


The documentation for this struct was generated from the following file: