|
XenevaOS
|
#include <asahi_drm.h>
Public Attributes | |
| __u64 | pointer |
| __u64 | size |
| __u32 | pad |
| __u32 | flags |
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.
| __u32 drm_asahi_attachment::flags |
@flags: MBZ
| __u32 drm_asahi_attachment::pad |
@pad: MBZ
| __u64 drm_asahi_attachment::pointer |
@pointer: Base address of the attachment
| __u64 drm_asahi_attachment::size |
@size: Size of the attachment in bytes