• Home
  • Raw
  • Download

Lines Matching refs:pm4

495 	uint32_t *pm4;  in amdgpu_command_submission_sdma_write_linear()  local
504 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_sdma_write_linear()
505 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_sdma_write_linear()
538 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_command_submission_sdma_write_linear()
540 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_sdma_write_linear()
541 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_sdma_write_linear()
542 pm4[i++] = sdma_write_length; in amdgpu_command_submission_sdma_write_linear()
544 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_sdma_write_linear()
547 i, pm4, in amdgpu_command_submission_sdma_write_linear()
566 free(pm4); in amdgpu_command_submission_sdma_write_linear()
580 uint32_t *pm4; in amdgpu_command_submission_sdma_const_fill() local
589 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_sdma_const_fill()
590 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_sdma_const_fill()
622 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_CONSTANT_FILL, 0, in amdgpu_command_submission_sdma_const_fill()
624 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_sdma_const_fill()
625 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_sdma_const_fill()
626 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_sdma_const_fill()
627 pm4[i++] = sdma_write_length; in amdgpu_command_submission_sdma_const_fill()
630 i, pm4, in amdgpu_command_submission_sdma_const_fill()
649 free(pm4); in amdgpu_command_submission_sdma_const_fill()
663 uint32_t *pm4; in amdgpu_command_submission_sdma_copy_linear() local
672 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_sdma_copy_linear()
673 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_sdma_copy_linear()
721 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_COPY, SDMA_COPY_SUB_OPCODE_LINEAR, 0); in amdgpu_command_submission_sdma_copy_linear()
722 pm4[i++] = sdma_write_length; in amdgpu_command_submission_sdma_copy_linear()
723 pm4[i++] = 0; in amdgpu_command_submission_sdma_copy_linear()
724 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_command_submission_sdma_copy_linear()
725 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_sdma_copy_linear()
726 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_command_submission_sdma_copy_linear()
727 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_sdma_copy_linear()
731 i, pm4, in amdgpu_command_submission_sdma_copy_linear()
754 free(pm4); in amdgpu_command_submission_sdma_copy_linear()
771 uint32_t *pm4 = NULL; in amdgpu_userptr_test() local
783 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_userptr_test()
784 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_userptr_test()
815 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_userptr_test()
817 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_userptr_test()
818 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_userptr_test()
819 pm4[i++] = sdma_write_length; in amdgpu_userptr_test()
822 pm4[i++] = 0xdeadbeaf; in amdgpu_userptr_test()
825 i, pm4, in amdgpu_userptr_test()
834 free(pm4); in amdgpu_userptr_test()