Lines Matching refs:cmd_header
205 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_state() argument
208 unsigned int count = cmd_header->state.count; in savage_dispatch_state()
209 unsigned int start = cmd_header->state.start; in savage_dispatch_state()
257 if (cmd_header->state.global) { in savage_dispatch_state()
286 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_dma_prim() argument
290 unsigned int prim = cmd_header->prim.prim; in savage_dispatch_dma_prim()
291 unsigned int skip = cmd_header->prim.skip; in savage_dispatch_dma_prim()
292 unsigned int n = cmd_header->prim.count; in savage_dispatch_dma_prim()
293 unsigned int start = cmd_header->prim.start; in savage_dispatch_dma_prim()
427 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_vb_prim() argument
432 unsigned int prim = cmd_header->prim.prim; in savage_dispatch_vb_prim()
433 unsigned int skip = cmd_header->prim.skip; in savage_dispatch_vb_prim()
434 unsigned int n = cmd_header->prim.count; in savage_dispatch_vb_prim()
435 unsigned int start = cmd_header->prim.start; in savage_dispatch_vb_prim()
546 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_dma_idx() argument
551 unsigned int prim = cmd_header->idx.prim; in savage_dispatch_dma_idx()
552 unsigned int skip = cmd_header->idx.skip; in savage_dispatch_dma_idx()
553 unsigned int n = cmd_header->idx.count; in savage_dispatch_dma_idx()
688 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_vb_idx() argument
694 unsigned int prim = cmd_header->idx.prim; in savage_dispatch_vb_idx()
695 unsigned int skip = cmd_header->idx.skip; in savage_dispatch_vb_idx()
696 unsigned int n = cmd_header->idx.count; in savage_dispatch_vb_idx()
803 const drm_savage_cmd_header_t * cmd_header, in savage_dispatch_clear() argument
808 unsigned int flags = cmd_header->clear0.flags; in savage_dispatch_clear()
921 drm_savage_cmd_header_t cmd_header; in savage_dispatch_draw() local
922 cmd_header = *cmdbuf; in savage_dispatch_draw()
924 switch (cmd_header.cmd.cmd) { in savage_dispatch_draw()
927 dev_priv, &cmd_header, dmabuf); in savage_dispatch_draw()
931 dev_priv, &cmd_header, in savage_dispatch_draw()
935 j = (cmd_header.idx.count + 3) / 4; in savage_dispatch_draw()
938 &cmd_header, (const uint16_t *)cmdbuf, in savage_dispatch_draw()
943 j = (cmd_header.idx.count + 3) / 4; in savage_dispatch_draw()
946 &cmd_header, (const uint16_t *)cmdbuf, in savage_dispatch_draw()
955 cmd_header.cmd.cmd); in savage_dispatch_draw()
1050 drm_savage_cmd_header_t cmd_header; in savage_bci_cmdbuf() local
1051 cmd_header = *(drm_savage_cmd_header_t *)cmdbuf->cmd_addr; in savage_bci_cmdbuf()
1058 switch (cmd_header.cmd.cmd) { in savage_bci_cmdbuf()
1061 j = (cmd_header.idx.count + 3) / 4; in savage_bci_cmdbuf()
1093 switch (cmd_header.cmd.cmd) { in savage_bci_cmdbuf()
1095 j = (cmd_header.state.count + 1) / 2; in savage_bci_cmdbuf()
1103 ret = savage_dispatch_state(dev_priv, &cmd_header, in savage_bci_cmdbuf()
1116 ret = savage_dispatch_clear(dev_priv, &cmd_header, in savage_bci_cmdbuf()
1129 cmd_header.cmd.cmd); in savage_bci_cmdbuf()