|
XenevaOS
|
#include <asahi_drm.h>
Public Attributes | |
| __u32 | handle |
| __u32 | offset |
struct drm_asahi_timestamp - Describe a timestamp write.
The firmware can optionally write the GPU timestamp at render pass granularities, but it needs to be mapped specially via DRM_IOCTL_ASAHI_GEM_BIND_OBJECT. This structure therefore describes where to write as a handle-offset pair, rather than a GPU address like normal.
This struct is embedded in other structs and therefore is not extensible.
| __u32 drm_asahi_timestamp::handle |
@handle: Handle of the timestamp buffer, or 0 to skip this timestamp. If nonzero, this must equal the value returned in drm_asahi_gem_bind_object::object_handle.
| __u32 drm_asahi_timestamp::offset |
@offset: Offset to write into the timestamp buffer