Home
last modified time | relevance | path

Searched refs:family_id (Results 1 – 15 of 15) sorted by relevance

/external/libdrm/tests/amdgpu/
Dcs_tests.c41 static uint32_t family_id; variable
73 family_id = device_handle->info.family_id; in suite_cs_tests_enable()
80 if (family_id >= AMDGPU_FAMILY_RV || family_id == AMDGPU_FAMILY_SI || in suite_cs_tests_enable()
108 family_id = device_handle->info.family_id; in suite_cs_tests_init()
198 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC4 : 0x81C4; in uvd_cmd()
200 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC5 : 0x81C5; in uvd_cmd()
202 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC3 : 0x81C3; in uvd_cmd()
235 if (family_id >= AMDGPU_FAMILY_VI) { in amdgpu_cs_uvd_create()
238 if ((family_id == AMDGPU_FAMILY_AI) || in amdgpu_cs_uvd_create()
288 if (family_id >= AMDGPU_FAMILY_VI) in amdgpu_cs_uvd_decode()
[all …]
Dvcn_tests.c58 static uint32_t family_id; variable
104 family_id = device_handle->info.family_id; in suite_vcn_tests_enable()
115 (family_id < AMDGPU_FAMILY_RV && in suite_vcn_tests_enable()
116 (family_id == AMDGPU_FAMILY_AI && in suite_vcn_tests_enable()
122 if (family_id == AMDGPU_FAMILY_AI) { in suite_vcn_tests_enable()
128 if (family_id == AMDGPU_FAMILY_RV) { in suite_vcn_tests_enable()
142 } else if (family_id == AMDGPU_FAMILY_NV) { in suite_vcn_tests_enable()
159 } else if (family_id == AMDGPU_FAMILY_AI) { in suite_vcn_tests_enable()
180 family_id = device_handle->info.family_id; in suite_vcn_tests_init()
Damdgpu_test.c432 uint32_t major_version, minor_version, family_id; in amdgpu_disable_suites() local
440 family_id = device_handle->info.family_id; in amdgpu_disable_suites()
506 if (family_id < AMDGPU_FAMILY_VI || family_id > AMDGPU_FAMILY_RV) in amdgpu_disable_suites()
511 if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV) { in amdgpu_disable_suites()
519 if (family_id < AMDGPU_FAMILY_AI || family_id > AMDGPU_FAMILY_RV) in amdgpu_disable_suites()
Dvce_tests.c67 static uint32_t family_id; variable
106 family_id = device_handle->info.family_id; in suite_vce_tests_enable()
118 if (family_id >= AMDGPU_FAMILY_RV || family_id == AMDGPU_FAMILY_SI || in suite_vce_tests_enable()
128 (family_id >= AMDGPU_FAMILY_AI && !ids_flags))) /* dGPU > Polaris */ in suite_vce_tests_enable()
158 family_id = device_handle->info.family_id; in suite_vce_tests_init()
289 unsigned align = (family_id >= AMDGPU_FAMILY_AI) ? 256 : 16; in amdgpu_cs_vce_create()
309 if (family_id >= AMDGPU_FAMILY_AI) in amdgpu_cs_vce_create()
357 unsigned align = (family_id >= AMDGPU_FAMILY_AI) ? 256 : 16; in amdgpu_cs_vce_encode_idr()
407 unsigned align = (family_id >= AMDGPU_FAMILY_AI) ? 256 : 16; in amdgpu_cs_vce_encode_p()
490 unsigned align = (family_id >= AMDGPU_FAMILY_AI) ? 256 : 16; in amdgpu_cs_vce_encode()
[all …]
Ddeadlock_tests.c137 if (device_handle->info.family_id != AMDGPU_FAMILY_VI && in suite_deadlock_tests_enable()
138 device_handle->info.family_id != AMDGPU_FAMILY_AI && in suite_deadlock_tests_enable()
139 device_handle->info.family_id != AMDGPU_FAMILY_CI) { in suite_deadlock_tests_enable()
153 if (device_handle->info.family_id >= AMDGPU_FAMILY_AI) in suite_deadlock_tests_enable()
Dbasic_tests.c48 static uint32_t family_id; variable
675 family_id = gpu_info.family_id; in suite_basic_tests_init()
742 if (family_id != AMDGPU_FAMILY_SI) { in amdgpu_command_submission_gfx_separate_ibs()
827 if (family_id != AMDGPU_FAMILY_SI) { in amdgpu_command_submission_gfx_shared_ib()
981 if (family_id == AMDGPU_FAMILY_SI) { in amdgpu_bo_eviction_test()
990 if (family_id >= AMDGPU_FAMILY_AI) in amdgpu_bo_eviction_test()
1070 if (family_id == AMDGPU_FAMILY_SI) { in amdgpu_semaphore_test()
1461 if (family_id == AMDGPU_FAMILY_SI) in amdgpu_command_submission_write_linear_helper_with_secure()
1470 if (family_id >= AMDGPU_FAMILY_AI) in amdgpu_command_submission_write_linear_helper_with_secure()
1472 else if (family_id != AMDGPU_FAMILY_SI) in amdgpu_command_submission_write_linear_helper_with_secure()
[all …]
Duvd_enc_tests.c61 static uint32_t family_id; variable
117 family_id = device_handle->info.family_id; in suite_uvd_enc_tests_init()
333 unsigned align = (family_id >= AMDGPU_FAMILY_AI) ? 256 : 16; in amdgpu_cs_uvd_enc_encode()
Dvm_tests.c46 if (device_handle->info.family_id == AMDGPU_FAMILY_SI) { in suite_vm_tests_enable()
Dsecurity_tests.c435 if (device_handle->info.family_id != AMDGPU_FAMILY_RV) { in suite_security_tests_enable()
/external/libdrm/amdgpu/
Damdgpu_gpu_info.c152 dev->info.family_id = dev->dev_info.family; in amdgpu_query_gpu_info_init()
169 if (dev->info.family_id < AMDGPU_FAMILY_AI) { in amdgpu_query_gpu_info_init()
188 if (dev->info.family_id >= AMDGPU_FAMILY_CI) { in amdgpu_query_gpu_info_init()
202 if (dev->info.family_id < AMDGPU_FAMILY_AI) { in amdgpu_query_gpu_info_init()
208 if (dev->info.family_id >= AMDGPU_FAMILY_CI) { in amdgpu_query_gpu_info_init()
Damdgpu.h437 uint32_t family_id; member
/external/mesa3d/src/amd/common/
Dac_gpu_info.h57 uint32_t family_id; member
Dac_gpu_info.c390 switch (amdinfo->family_id) { in ac_query_gpu_info()
447 amdinfo->family_id, amdinfo->chip_external_rev); in ac_query_gpu_info()
468 info->family_id = amdinfo->family_id; in ac_query_gpu_info()
866 fprintf(f, " family_id = %i\n", info->family_id); in ac_print_gpu_info()
Dac_surface.c356 addrCreateInput.chipFamily = info->family_id; in ac_addrlib_create()
/external/igt-gpu-tools/tests/amdgpu/
Damd_basic.c908 if (gpu_info.family_id >= AMDGPU_FAMILY_AI) in amdgpu_command_submission_write_linear_helper()
1015 if (gpu_info.family_id >= AMDGPU_FAMILY_AI) in amdgpu_command_submission_const_fill_helper()
1136 if (gpu_info.family_id >= AMDGPU_FAMILY_AI) in amdgpu_command_submission_copy_linear_helper()