gnm_driver: sceGnmSubmitAndFlipCommandBuffers implementation

This commit is contained in:
psucien 2024-05-08 22:55:39 +02:00
parent c7cfe2622d
commit 498c5eb0cd
2 changed files with 110 additions and 2 deletions

View file

@ -330,4 +330,18 @@ struct PM4CmdWaitRegMem {
u32 poll_interval;
};
struct PM4CmdWriteData {
PM4Type3Header header;
union {
BitField<8, 11, u32> dst_sel;
BitField<16, 1, u32> wr_one_addr;
BitField<20, 1, u32> wr_confirm;
BitField<30, 1, u32> engine_sel;
u32 raw;
};
u32 dst_addr_lo;
u32 dst_addr_hi;
u32 data[0];
};
} // namespace AmdGpu