• Home
  • Raw
  • Download

Lines Matching refs:pm4

830 	uint32_t *pm4;  in amdgpu_bo_eviction_test()  local
840 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_bo_eviction_test()
841 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_bo_eviction_test()
916 pm4[i++] = SDMA_PACKET_SI(SDMA_OPCODE_COPY_SI, 0, 0, 0, in amdgpu_bo_eviction_test()
918 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_bo_eviction_test()
919 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_bo_eviction_test()
920 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_bo_eviction_test()
921 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_bo_eviction_test()
923 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_COPY, SDMA_COPY_SUB_OPCODE_LINEAR, 0); in amdgpu_bo_eviction_test()
925 pm4[i++] = sdma_write_length - 1; in amdgpu_bo_eviction_test()
927 pm4[i++] = sdma_write_length; in amdgpu_bo_eviction_test()
928 pm4[i++] = 0; in amdgpu_bo_eviction_test()
929 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_bo_eviction_test()
930 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_bo_eviction_test()
931 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_bo_eviction_test()
932 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_bo_eviction_test()
937 i, pm4, in amdgpu_bo_eviction_test()
965 free(pm4); in amdgpu_bo_eviction_test()
1320 uint32_t *pm4; in amdgpu_command_submission_write_linear_helper() local
1330 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_write_linear_helper()
1331 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_write_linear_helper()
1369 pm4[i++] = SDMA_PACKET_SI(SDMA_OPCODE_WRITE, 0, 0, 0, in amdgpu_command_submission_write_linear_helper()
1372 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_command_submission_write_linear_helper()
1374 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_write_linear_helper()
1375 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_write_linear_helper()
1377 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_write_linear_helper()
1379 pm4[i++] = sdma_write_length; in amdgpu_command_submission_write_linear_helper()
1381 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_write_linear_helper()
1384 pm4[i++] = PACKET3(PACKET3_WRITE_DATA, 2 + sdma_write_length); in amdgpu_command_submission_write_linear_helper()
1385 pm4[i++] = WRITE_DATA_DST_SEL(5) | WR_CONFIRM; in amdgpu_command_submission_write_linear_helper()
1386 pm4[i++] = 0xfffffffc & bo_mc; in amdgpu_command_submission_write_linear_helper()
1387 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_write_linear_helper()
1389 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_write_linear_helper()
1394 i, pm4, in amdgpu_command_submission_write_linear_helper()
1414 free(pm4); in amdgpu_command_submission_write_linear_helper()
1433 uint32_t *pm4; in amdgpu_command_submission_const_fill_helper() local
1443 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_const_fill_helper()
1444 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_const_fill_helper()
1482 pm4[i++] = SDMA_PACKET_SI(SDMA_OPCODE_CONSTANT_FILL_SI, in amdgpu_command_submission_const_fill_helper()
1485 pm4[i++] = 0xfffffffc & bo_mc; in amdgpu_command_submission_const_fill_helper()
1486 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1487 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 16; in amdgpu_command_submission_const_fill_helper()
1489 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_CONSTANT_FILL, 0, in amdgpu_command_submission_const_fill_helper()
1491 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_const_fill_helper()
1492 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_const_fill_helper()
1493 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1495 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_const_fill_helper()
1497 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1502 pm4[i++] = PACKET3(PACKET3_DMA_DATA_SI, 4); in amdgpu_command_submission_const_fill_helper()
1503 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1504 pm4[i++] = PACKET3_DMA_DATA_SI_ENGINE(0) | in amdgpu_command_submission_const_fill_helper()
1508 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_command_submission_const_fill_helper()
1509 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_const_fill_helper()
1510 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1512 pm4[i++] = PACKET3(PACKET3_DMA_DATA, 5); in amdgpu_command_submission_const_fill_helper()
1513 pm4[i++] = PACKET3_DMA_DATA_ENGINE(0) | in amdgpu_command_submission_const_fill_helper()
1517 pm4[i++] = 0xdeadbeaf; in amdgpu_command_submission_const_fill_helper()
1518 pm4[i++] = 0; in amdgpu_command_submission_const_fill_helper()
1519 pm4[i++] = 0xfffffffc & bo_mc; in amdgpu_command_submission_const_fill_helper()
1520 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_command_submission_const_fill_helper()
1521 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1527 i, pm4, in amdgpu_command_submission_const_fill_helper()
1547 free(pm4); in amdgpu_command_submission_const_fill_helper()
1566 uint32_t *pm4; in amdgpu_command_submission_copy_linear_helper() local
1576 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_command_submission_copy_linear_helper()
1577 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_command_submission_copy_linear_helper()
1631 pm4[i++] = SDMA_PACKET_SI(SDMA_OPCODE_COPY_SI, in amdgpu_command_submission_copy_linear_helper()
1634 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1635 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1636 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1637 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1639 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_COPY, in amdgpu_command_submission_copy_linear_helper()
1643 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_copy_linear_helper()
1645 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1646 pm4[i++] = 0; in amdgpu_command_submission_copy_linear_helper()
1647 pm4[i++] = 0xffffffff & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1648 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1649 pm4[i++] = 0xffffffff & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1650 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1655 pm4[i++] = PACKET3(PACKET3_DMA_DATA_SI, 4); in amdgpu_command_submission_copy_linear_helper()
1656 pm4[i++] = 0xfffffffc & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1657 pm4[i++] = PACKET3_DMA_DATA_SI_ENGINE(0) | in amdgpu_command_submission_copy_linear_helper()
1662 pm4[i++] = 0xfffffffc & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1663 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1664 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1666 pm4[i++] = PACKET3(PACKET3_DMA_DATA, 5); in amdgpu_command_submission_copy_linear_helper()
1667 pm4[i++] = PACKET3_DMA_DATA_ENGINE(0) | in amdgpu_command_submission_copy_linear_helper()
1671 pm4[i++] = 0xfffffffc & bo1_mc; in amdgpu_command_submission_copy_linear_helper()
1672 pm4[i++] = (0xffffffff00000000 & bo1_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1673 pm4[i++] = 0xfffffffc & bo2_mc; in amdgpu_command_submission_copy_linear_helper()
1674 pm4[i++] = (0xffffffff00000000 & bo2_mc) >> 32; in amdgpu_command_submission_copy_linear_helper()
1675 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1681 i, pm4, in amdgpu_command_submission_copy_linear_helper()
1705 free(pm4); in amdgpu_command_submission_copy_linear_helper()
1827 uint32_t *pm4 = NULL; in amdgpu_userptr_test() local
1839 pm4 = calloc(pm4_dw, sizeof(*pm4)); in amdgpu_userptr_test()
1840 CU_ASSERT_NOT_EQUAL(pm4, NULL); in amdgpu_userptr_test()
1873 pm4[i++] = SDMA_PACKET_SI(SDMA_OPCODE_WRITE, 0, 0, 0, in amdgpu_userptr_test()
1876 pm4[i++] = SDMA_PACKET(SDMA_OPCODE_WRITE, in amdgpu_userptr_test()
1878 pm4[i++] = 0xffffffff & bo_mc; in amdgpu_userptr_test()
1879 pm4[i++] = (0xffffffff00000000 & bo_mc) >> 32; in amdgpu_userptr_test()
1881 pm4[i++] = sdma_write_length - 1; in amdgpu_userptr_test()
1883 pm4[i++] = sdma_write_length; in amdgpu_userptr_test()
1886 pm4[i++] = 0xdeadbeaf; in amdgpu_userptr_test()
1889 pm4[0] = 0x0; in amdgpu_userptr_test()
1895 i, pm4, in amdgpu_userptr_test()
1904 free(pm4); in amdgpu_userptr_test()