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

#include <asahi_drm.h>

Public Attributes

__u32 handle
 
__u32 offset
 

Detailed Description

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.

Member Data Documentation

◆ handle

__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.

◆ offset

__u32 drm_asahi_timestamp::offset

@offset: Offset to write into the timestamp buffer


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