Lines Matching refs:cmd_header
736 static u32 gen7_render_get_cmd_length_mask(u32 cmd_header) in gen7_render_get_cmd_length_mask() argument
738 u32 client = cmd_header >> INSTR_CLIENT_SHIFT; in gen7_render_get_cmd_length_mask()
740 (cmd_header & INSTR_SUBCLIENT_MASK) >> INSTR_SUBCLIENT_SHIFT; in gen7_render_get_cmd_length_mask()
751 DRM_DEBUG("CMD: Abnormal rcs cmd length! 0x%08X\n", cmd_header); in gen7_render_get_cmd_length_mask()
755 static u32 gen7_bsd_get_cmd_length_mask(u32 cmd_header) in gen7_bsd_get_cmd_length_mask() argument
757 u32 client = cmd_header >> INSTR_CLIENT_SHIFT; in gen7_bsd_get_cmd_length_mask()
759 (cmd_header & INSTR_SUBCLIENT_MASK) >> INSTR_SUBCLIENT_SHIFT; in gen7_bsd_get_cmd_length_mask()
760 u32 op = (cmd_header & INSTR_26_TO_24_MASK) >> INSTR_26_TO_24_SHIFT; in gen7_bsd_get_cmd_length_mask()
774 DRM_DEBUG("CMD: Abnormal bsd cmd length! 0x%08X\n", cmd_header); in gen7_bsd_get_cmd_length_mask()
778 static u32 gen7_blt_get_cmd_length_mask(u32 cmd_header) in gen7_blt_get_cmd_length_mask() argument
780 u32 client = cmd_header >> INSTR_CLIENT_SHIFT; in gen7_blt_get_cmd_length_mask()
787 DRM_DEBUG("CMD: Abnormal blt cmd length! 0x%08X\n", cmd_header); in gen7_blt_get_cmd_length_mask()
791 static u32 gen9_blt_get_cmd_length_mask(u32 cmd_header) in gen9_blt_get_cmd_length_mask() argument
793 u32 client = cmd_header >> INSTR_CLIENT_SHIFT; in gen9_blt_get_cmd_length_mask()
798 DRM_DEBUG("CMD: Abnormal blt cmd length! 0x%08X\n", cmd_header); in gen9_blt_get_cmd_length_mask()
1078 u32 cmd_header) in find_cmd_in_table() argument
1083 cmd_header_key(cmd_header)) { in find_cmd_in_table()
1085 if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0) in find_cmd_in_table()
1102 u32 cmd_header, in find_cmd() argument
1108 if (((cmd_header ^ desc->cmd.value) & desc->cmd.mask) == 0) in find_cmd()
1111 desc = find_cmd_in_table(engine, cmd_header); in find_cmd()
1115 mask = engine->get_cmd_length_mask(cmd_header); in find_cmd()
1119 default_desc->cmd.value = cmd_header; in find_cmd()