Lines Matching refs:sdma_write_length
525 const int sdma_write_length = 1024; in amdgpu_bo_eviction_test() local
586 sdma_write_length, 4096, in amdgpu_bo_eviction_test()
594 memset((void*)bo1_cpu, 0xaa, sdma_write_length); in amdgpu_bo_eviction_test()
598 sdma_write_length, 4096, in amdgpu_bo_eviction_test()
606 memset((void*)bo2_cpu, 0, sdma_write_length); in amdgpu_bo_eviction_test()
617 sdma_write_length); in amdgpu_bo_eviction_test()
625 pm4[i++] = sdma_write_length - 1; in amdgpu_bo_eviction_test()
627 pm4[i++] = sdma_write_length; in amdgpu_bo_eviction_test()
643 while(i < sdma_write_length) { in amdgpu_bo_eviction_test()
647 sdma_write_length); in amdgpu_bo_eviction_test()
650 sdma_write_length); in amdgpu_bo_eviction_test()
1015 const int sdma_write_length = 128; in amdgpu_command_submission_write_linear_helper() local
1054 sdma_write_length * sizeof(uint32_t), in amdgpu_command_submission_write_linear_helper()
1061 memset((void*)bo_cpu, 0, sdma_write_length * sizeof(uint32_t)); in amdgpu_command_submission_write_linear_helper()
1070 sdma_write_length); in amdgpu_command_submission_write_linear_helper()
1077 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_write_linear_helper()
1079 pm4[i++] = sdma_write_length; in amdgpu_command_submission_write_linear_helper()
1080 while(j++ < sdma_write_length) in amdgpu_command_submission_write_linear_helper()
1084 pm4[i++] = PACKET3(PACKET3_WRITE_DATA, 2 + sdma_write_length); in amdgpu_command_submission_write_linear_helper()
1088 while(j++ < sdma_write_length) in amdgpu_command_submission_write_linear_helper()
1100 while(i < sdma_write_length) { in amdgpu_command_submission_write_linear_helper()
1105 sdma_write_length * sizeof(uint32_t)); in amdgpu_command_submission_write_linear_helper()
1128 const int sdma_write_length = 1024 * 1024; in amdgpu_command_submission_const_fill_helper() local
1167 sdma_write_length, 4096, in amdgpu_command_submission_const_fill_helper()
1174 memset((void*)bo_cpu, 0, sdma_write_length); in amdgpu_command_submission_const_fill_helper()
1184 sdma_write_length / 4); in amdgpu_command_submission_const_fill_helper()
1195 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_const_fill_helper()
1197 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1210 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1221 pm4[i++] = sdma_write_length; in amdgpu_command_submission_const_fill_helper()
1233 while(i < (sdma_write_length / 4)) { in amdgpu_command_submission_const_fill_helper()
1238 sdma_write_length); in amdgpu_command_submission_const_fill_helper()
1261 const int sdma_write_length = 1024; in amdgpu_command_submission_copy_linear_helper() local
1302 sdma_write_length, 4096, in amdgpu_command_submission_copy_linear_helper()
1310 memset((void*)bo1_cpu, 0xaa, sdma_write_length); in amdgpu_command_submission_copy_linear_helper()
1314 sdma_write_length, 4096, in amdgpu_command_submission_copy_linear_helper()
1322 memset((void*)bo2_cpu, 0, sdma_write_length); in amdgpu_command_submission_copy_linear_helper()
1333 sdma_write_length); in amdgpu_command_submission_copy_linear_helper()
1343 pm4[i++] = sdma_write_length - 1; in amdgpu_command_submission_copy_linear_helper()
1345 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1364 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1375 pm4[i++] = sdma_write_length; in amdgpu_command_submission_copy_linear_helper()
1387 while(i < sdma_write_length) { in amdgpu_command_submission_copy_linear_helper()
1391 sdma_write_length); in amdgpu_command_submission_copy_linear_helper()
1394 sdma_write_length); in amdgpu_command_submission_copy_linear_helper()
1531 int sdma_write_length = 4; in amdgpu_userptr_test() local
1574 sdma_write_length); in amdgpu_userptr_test()
1581 pm4[i++] = sdma_write_length - 1; in amdgpu_userptr_test()
1583 pm4[i++] = sdma_write_length; in amdgpu_userptr_test()
1585 while (j++ < sdma_write_length) in amdgpu_userptr_test()
1599 while (i < sdma_write_length) { in amdgpu_userptr_test()