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

#include <asahi_drm.h>

Public Attributes

__u64 pointer
 
__u64 size
 
__u32 pad
 
__u32 flags
 

Detailed Description

struct drm_asahi_attachment - Describe an "attachment".

Attachments are any memory written by shaders, notably including render target attachments written by the end-of-tile program. This is purely a hint about the accessed memory regions. It is optional to specify, which is fortunate as it cannot be specified precisely with bindless access anyway. But where possible, it's probably a good idea for userspace to include these hints, forwarded to the firmware.

This struct is implicitly sized and therefore is not extensible.

Member Data Documentation

◆ flags

__u32 drm_asahi_attachment::flags

@flags: MBZ

◆ pad

__u32 drm_asahi_attachment::pad

@pad: MBZ

◆ pointer

__u64 drm_asahi_attachment::pointer

@pointer: Base address of the attachment

◆ size

__u64 drm_asahi_attachment::size

@size: Size of the attachment in bytes


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