Skip to content

Commit

Permalink
fixup! drm/asahi: Add the Asahi driver UAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
asahilina committed Apr 7, 2023
1 parent ff248d3 commit 745b345
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions include/uapi/drm/asahi_drm.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
extern "C" {
#endif

#define DRM_ASAHI_UNSTABLE_UABI_VERSION 10006
#define DRM_ASAHI_UNSTABLE_UABI_VERSION 10007

#define DRM_ASAHI_GET_PARAMS 0x00
#define DRM_ASAHI_VM_CREATE 0x01
Expand Down Expand Up @@ -331,6 +331,8 @@ struct drm_asahi_attachment {
#define ASAHI_RENDER_MEMORYLESS_RTS_USED (1UL << 2)
#define ASAHI_RENDER_PROCESS_EMPTY_TILES (1UL << 3)
#define ASAHI_RENDER_NO_VERTEX_CLUSTERING (1UL << 4)
#define ASAHI_RENDER_MSAA_ZS (1UL << 5)
#define ASAHI_RENDER_UNK_FLAG1 (1UL << 6)

struct drm_asahi_cmd_render {
/** @extensions: Pointer to the first extension struct, if any */
Expand Down Expand Up @@ -379,8 +381,8 @@ struct drm_asahi_cmd_render {
__u32 cmd_ta_id;
__u32 cmd_3d_id;

__u32 iogpu_unk_49;
__u32 iogpu_unk_212;
__u32 sample_size;
__u32 tib_blocks;
__u32 iogpu_unk_214;

__u32 merge_upper_x;
Expand Down

0 comments on commit 745b345

Please sign in to comment.