Lines Matching defs:CMD
196 #define CMD(op, opm, f, lm, fl, ...) \
218 CMD( MI_NOOP, SMI, F, 1, S ),
219 CMD( MI_USER_INTERRUPT, SMI, F, 1, R ),
220 CMD( MI_WAIT_FOR_EVENT, SMI, F, 1, R ),
221 CMD( MI_ARB_CHECK, SMI, F, 1, S ),
222 CMD( MI_REPORT_HEAD, SMI, F, 1, S ),
223 CMD( MI_SUSPEND_FLUSH, SMI, F, 1, S ),
224 CMD( MI_SEMAPHORE_MBOX, SMI, !F, 0xFF, R ),
225 CMD( MI_STORE_DWORD_INDEX, SMI, !F, 0xFF, R ),
226 CMD( MI_LOAD_REGISTER_IMM(1), SMI, !F, 0xFF, W,
228 CMD( MI_STORE_REGISTER_MEM, SMI, F, 3, W | B,
235 CMD( MI_LOAD_REGISTER_MEM, SMI, F, 3, W | B,
247 CMD( MI_BATCH_BUFFER_START, SMI, !F, 0xFF, S ),
251 CMD( MI_FLUSH, SMI, F, 1, S ),
252 CMD( MI_ARB_ON_OFF, SMI, F, 1, R ),
253 CMD( MI_PREDICATE, SMI, F, 1, S ),
254 CMD( MI_TOPOLOGY_FILTER, SMI, F, 1, S ),
255 CMD( MI_SET_APPID, SMI, F, 1, S ),
256 CMD( MI_DISPLAY_FLIP, SMI, !F, 0xFF, R ),
257 CMD( MI_SET_CONTEXT, SMI, !F, 0xFF, R ),
258 CMD( MI_URB_CLEAR, SMI, !F, 0xFF, S ),
259 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0x3F, B,
265 CMD( MI_UPDATE_GTT, SMI, !F, 0xFF, R ),
266 CMD( MI_CLFLUSH, SMI, !F, 0x3FF, B,
272 CMD( MI_REPORT_PERF_COUNT, SMI, !F, 0x3F, B,
278 CMD( MI_CONDITIONAL_BATCH_BUFFER_END, SMI, !F, 0xFF, B,
284 CMD( GFX_OP_3DSTATE_VF_STATISTICS, S3D, F, 1, S ),
285 CMD( PIPELINE_SELECT, S3D, F, 1, S ),
286 CMD( MEDIA_VFE_STATE, S3D, !F, 0xFFFF, B,
292 CMD( GPGPU_OBJECT, S3D, !F, 0xFF, S ),
293 CMD( GPGPU_WALKER, S3D, !F, 0xFF, S ),
294 CMD( GFX_OP_3DSTATE_SO_DECL_LIST, S3D, !F, 0x1FF, S ),
295 CMD( GFX_OP_PIPE_CONTROL(5), S3D, !F, 0xFF, B,
312 CMD( MI_SET_PREDICATE, SMI, F, 1, S ),
313 CMD( MI_RS_CONTROL, SMI, F, 1, S ),
314 CMD( MI_URB_ATOMIC_ALLOC, SMI, F, 1, S ),
315 CMD( MI_SET_APPID, SMI, F, 1, S ),
316 CMD( MI_RS_CONTEXT, SMI, F, 1, S ),
317 CMD( MI_LOAD_SCAN_LINES_INCL, SMI, !F, 0x3F, R ),
318 CMD( MI_LOAD_SCAN_LINES_EXCL, SMI, !F, 0x3F, R ),
319 CMD( MI_LOAD_REGISTER_REG, SMI, !F, 0xFF, W,
321 CMD( MI_RS_STORE_DATA_IMM, SMI, !F, 0xFF, S ),
322 CMD( MI_LOAD_URB_MEM, SMI, !F, 0xFF, S ),
323 CMD( MI_STORE_URB_MEM, SMI, !F, 0xFF, S ),
324 CMD( GFX_OP_3DSTATE_DX9_CONSTANTF_VS, S3D, !F, 0x7FF, S ),
325 CMD( GFX_OP_3DSTATE_DX9_CONSTANTF_PS, S3D, !F, 0x7FF, S ),
327 CMD( GFX_OP_3DSTATE_BINDING_TABLE_EDIT_VS, S3D, !F, 0x1FF, S ),
328 CMD( GFX_OP_3DSTATE_BINDING_TABLE_EDIT_GS, S3D, !F, 0x1FF, S ),
329 CMD( GFX_OP_3DSTATE_BINDING_TABLE_EDIT_HS, S3D, !F, 0x1FF, S ),
330 CMD( GFX_OP_3DSTATE_BINDING_TABLE_EDIT_DS, S3D, !F, 0x1FF, S ),
331 CMD( GFX_OP_3DSTATE_BINDING_TABLE_EDIT_PS, S3D, !F, 0x1FF, S ),
335 CMD( MI_ARB_ON_OFF, SMI, F, 1, R ),
336 CMD( MI_SET_APPID, SMI, F, 1, S ),
337 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0xFF, B,
343 CMD( MI_UPDATE_GTT, SMI, !F, 0x3F, R ),
344 CMD( MI_FLUSH_DW, SMI, !F, 0x3F, B,
364 CMD( MI_CONDITIONAL_BATCH_BUFFER_END, SMI, !F, 0xFF, B,
375 CMD( MFX_WAIT, SMFX, F, 1, S ),
379 CMD( MI_ARB_ON_OFF, SMI, F, 1, R ),
380 CMD( MI_SET_APPID, SMI, F, 1, S ),
381 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0xFF, B,
387 CMD( MI_UPDATE_GTT, SMI, !F, 0x3F, R ),
388 CMD( MI_FLUSH_DW, SMI, !F, 0x3F, B,
408 CMD( MI_CONDITIONAL_BATCH_BUFFER_END, SMI, !F, 0xFF, B,
417 CMD( MI_DISPLAY_FLIP, SMI, !F, 0xFF, R ),
418 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0x3FF, B,
424 CMD( MI_UPDATE_GTT, SMI, !F, 0x3F, R ),
425 CMD( MI_FLUSH_DW, SMI, !F, 0x3F, B,
445 CMD( COLOR_BLT, S2D, !F, 0x3F, S ),
446 CMD( SRC_COPY_BLT, S2D, !F, 0x3F, S ),
450 CMD( MI_LOAD_SCAN_LINES_INCL, SMI, !F, 0x3F, R ),
451 CMD( MI_LOAD_SCAN_LINES_EXCL, SMI, !F, 0x3F, R ),
472 CMD( MI_NOOP, SMI, F, 1, S ),
473 CMD( MI_USER_INTERRUPT, SMI, F, 1, S ),
474 CMD( MI_WAIT_FOR_EVENT, SMI, F, 1, S ),
475 CMD( MI_FLUSH, SMI, F, 1, S ),
476 CMD( MI_ARB_CHECK, SMI, F, 1, S ),
477 CMD( MI_REPORT_HEAD, SMI, F, 1, S ),
478 CMD( MI_ARB_ON_OFF, SMI, F, 1, S ),
479 CMD( MI_SUSPEND_FLUSH, SMI, F, 1, S ),
480 CMD( MI_LOAD_SCAN_LINES_INCL, SMI, !F, 0x3F, S ),
481 CMD( MI_LOAD_SCAN_LINES_EXCL, SMI, !F, 0x3F, S ),
482 CMD( MI_STORE_DWORD_IMM, SMI, !F, 0x3FF, S ),
483 CMD( MI_LOAD_REGISTER_IMM(1), SMI, !F, 0xFF, W,
485 CMD( MI_UPDATE_GTT, SMI, !F, 0x3FF, S ),
486 CMD( MI_STORE_REGISTER_MEM_GEN8, SMI, F, 4, W,
488 CMD( MI_FLUSH_DW, SMI, !F, 0x3F, S ),
489 CMD( MI_LOAD_REGISTER_MEM_GEN8, SMI, F, 4, W,
491 CMD( MI_LOAD_REGISTER_REG, SMI, !F, 0xFF, W,
500 CMD( MI_BATCH_BUFFER_START_GEN8, SMI, !F, 0xFF, B,
509 CMD(MI_NOOP, SMI, F, 1, S);
511 #undef CMD
741 DRM_DEBUG("CMD: Abnormal rcs cmd length! 0x%08X\n", cmd_header);
764 DRM_DEBUG("CMD: Abnormal bsd cmd length! 0x%08X\n", cmd_header);
777 DRM_DEBUG("CMD: Abnormal blt cmd length! 0x%08X\n", cmd_header);
788 DRM_DEBUG("CMD: Abnormal blt cmd length! 0x%08X\n", cmd_header);
813 DRM_ERROR("CMD: %s [%d] command table not sorted: "
839 DRM_ERROR("CMD: %s [%d] register table not sorted: "
1219 DRM_DEBUG("CMD: Rejected command: 0x%08X\n", *cmd);
1239 DRM_DEBUG("CMD: Rejected register 0x%08X in command: 0x%08X (%s)\n",
1250 DRM_DEBUG("CMD: Rejected LRM to masked register 0x%08X\n",
1256 DRM_DEBUG("CMD: Rejected LRR to masked register 0x%08X\n",
1264 DRM_DEBUG("CMD: Rejected LRI to masked register 0x%08X\n",
1292 DRM_DEBUG("CMD: Rejected command 0x%08X, too short to check bitmask (%s)\n",
1301 DRM_DEBUG("CMD: Rejected command 0x%08X for bitmask 0x%08X (exp=0x%08X act=0x%08X) (%s)\n",
1325 DRM_DEBUG("CMD: Rejecting BB_START for ggtt based submission\n");
1330 DRM_DEBUG("CMD: Recursive BB_START with bad length(%u)\n",
1343 DRM_DEBUG("CMD: BB_START to 0x%"PRIx64" jumps out of BB\n",
1364 DRM_DEBUG("CMD: BB_START to 0x%"PRIx64" not a previously executed cmd\n",
1435 DRM_DEBUG("CMD: Failed to copy batch\n");
1461 DRM_DEBUG("CMD: Unrecognized command: 0x%08X\n", *cmd);
1472 DRM_DEBUG("CMD: Command length exceeds batch length: 0x%08X length=%u batchlen=%td\n",
1498 DRM_DEBUG("CMD: Got to the end of the buffer w/o a BBE cmd!\n");