Searched refs:sdma_write_length (Results 1 – 2 of 2) sorted by relevance
/external/igt-gpu-tools/tests/amdgpu/ |
D | amd_basic.c | 851 const int sdma_write_length = 128; in amdgpu_command_submission_write_linear_helper() local 889 sdma_write_length * sizeof(uint32_t), in amdgpu_command_submission_write_linear_helper() 896 memset((void*)bo_cpu, 0, sdma_write_length * sizeof(uint32_t)); 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() 912 while(j++ < sdma_write_length) 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() 920 while(j++ < sdma_write_length) in amdgpu_command_submission_write_linear_helper() 932 while(i < sdma_write_length) { in amdgpu_command_submission_write_linear_helper() 937 sdma_write_length * sizeof(uint32_t)); in amdgpu_command_submission_write_linear_helper() [all …]
|
/external/libdrm/tests/amdgpu/ |
D | basic_tests.c | 891 const int sdma_write_length = 1024; in amdgpu_bo_eviction_test() local 952 sdma_write_length, 4096, in amdgpu_bo_eviction_test() 960 memset((void*)bo1_cpu, 0xaa, sdma_write_length); in amdgpu_bo_eviction_test() 964 sdma_write_length, 4096, in amdgpu_bo_eviction_test() 972 memset((void*)bo2_cpu, 0, sdma_write_length); in amdgpu_bo_eviction_test() 983 sdma_write_length); in amdgpu_bo_eviction_test() 991 pm4[i++] = sdma_write_length - 1; in amdgpu_bo_eviction_test() 993 pm4[i++] = sdma_write_length; in amdgpu_bo_eviction_test() 1009 while(i < sdma_write_length) { in amdgpu_bo_eviction_test() 1013 sdma_write_length); in amdgpu_bo_eviction_test() [all …]
|