• Home
  • Raw
  • Download

Lines Matching refs:pm4

856 	uint32_t *pm4;  in amdgpu_command_submission_write_linear_helper()  local
869 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_write_linear_helper()
870 igt_assert(pm4); in amdgpu_command_submission_write_linear_helper()
904 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_command_submission_write_linear_helper()
906 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_write_linear_helper()
907 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_write_linear_helper()
909 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_write_linear_helper()
911 pm4[i++] = sdma_write_length; in amdgpu_command_submission_write_linear_helper()
913 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_write_linear_helper()
916 pm4[i++] = PACKET3(PACKET3_WRITE_DATA, 2 + sdma_write_length); in amdgpu_command_submission_write_linear_helper()
917 pm4[i++] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM; in amdgpu_command_submission_write_linear_helper()
918 pm4[i++] = 0xfffffffc & bo_mc; in amdgpu_command_submission_write_linear_helper()
919 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_write_linear_helper()
921 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_write_linear_helper()
926 i, pm4, in amdgpu_command_submission_write_linear_helper()
944 free(pm4); in amdgpu_command_submission_write_linear_helper()
963 uint32_t *pm4; in amdgpu_command_submission_const_fill_helper() local
976 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_const_fill_helper()
977 igt_assert(pm4); in amdgpu_command_submission_const_fill_helper()
1010 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_CONSTANT_FILL, 0, in amdgpu_command_submission_const_fill_helper()
1012 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_const_fill_helper()
1013 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_const_fill_helper()
1014 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1016 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_const_fill_helper()
1018 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1021 pm4[i++] = PACKET3(PACKET3_DMA_DATA, 5); in amdgpu_command_submission_const_fill_helper()
1022 pm4[i++] = PACKET3_DMA_DATA_ENGINE(0) | in amdgpu_command_submission_const_fill_helper()
1026 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1027 pm4[i++] = 0; in amdgpu_command_submission_const_fill_helper()
1028 pm4[i++] = 0xfffffffc & bo_mc; in amdgpu_command_submission_const_fill_helper()
1029 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_const_fill_helper()
1030 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1035 i, pm4, in amdgpu_command_submission_const_fill_helper()
1053 free(pm4); in amdgpu_command_submission_const_fill_helper()
1072 uint32_t *pm4; in amdgpu_command_submission_copy_linear_helper() local
1085 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_copy_linear_helper()
1086 igt_assert(pm4); in amdgpu_command_submission_copy_linear_helper()
1135 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_COPY, SDMA_COPY_SUB_OPCODE_LINEAR, 0); in amdgpu_command_submission_copy_linear_helper()
1137 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_copy_linear_helper()
1139 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1140 pm4[i++] = 0; in amdgpu_command_submission_copy_linear_helper()
1141 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1142 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1143 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1144 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1147 pm4[i++] = PACKET3(PACKET3_DMA_DATA, 5); in amdgpu_command_submission_copy_linear_helper()
1148 pm4[i++] = PACKET3_DMA_DATA_ENGINE(0) | in amdgpu_command_submission_copy_linear_helper()
1152 pm4[i++] = 0xfffffffc & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1153 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1154 pm4[i++] = 0xfffffffc & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1155 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1156 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1161 i, pm4, in amdgpu_command_submission_copy_linear_helper()
1183 free(pm4); in amdgpu_command_submission_copy_linear_helper()
1301 uint32_t *pm4 = NULL; in amdgpu_userptr_test() local
1313 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_userptr_test()
1314 igt_assert(pm4); in amdgpu_userptr_test()
1345 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_userptr_test()
1347 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_userptr_test()
1348 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_userptr_test()
1349 pm4[i++] = sdma_write_length; in amdgpu_userptr_test()
1352 pm4[i++] = 0xdeadbeaf; in amdgpu_userptr_test()
1356 i, pm4, in amdgpu_userptr_test()
1365 free(pm4); in amdgpu_userptr_test()