Searched refs:ib_cpu (Results 1 – 4 of 4) sorted by relevance
/third_party/libdrm/tests/amdgpu/ |
D | vce_tests.c | 78 static uint32_t *ib_cpu; variable 165 &ib_handle, (void**)&ib_cpu, in suite_vce_tests_init() 299 memcpy(ib_cpu, vce_session, sizeof(vce_session)); in amdgpu_cs_vce_create() 301 memcpy((ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo)); in amdgpu_cs_vce_create() 303 memcpy((ib_cpu + len), vce_create, sizeof(vce_create)); in amdgpu_cs_vce_create() 304 ib_cpu[len + 8] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 305 ib_cpu[len + 9] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 308 ib_cpu[len + 11] = 0x01000001; in amdgpu_cs_vce_create() 310 ib_cpu[len + 11] = 0x01000201; in amdgpu_cs_vce_create() 313 memcpy((ib_cpu + len), vce_feedback, sizeof(vce_feedback)); in amdgpu_cs_vce_create() [all …]
|
D | uvd_enc_tests.c | 67 static uint32_t *ib_cpu; variable 125 &ib_handle, (void**)&ib_cpu, in suite_uvd_enc_tests_init() 283 memcpy((ib_cpu + len), uve_session_info, sizeof(uve_session_info)); in amdgpu_cs_uvd_enc_session_init() 285 ib_cpu[len++] = enc.session.addr >> 32; in amdgpu_cs_uvd_enc_session_init() 286 ib_cpu[len++] = enc.session.addr; in amdgpu_cs_uvd_enc_session_init() 288 memcpy((ib_cpu + len), uve_task_info, sizeof(uve_task_info)); in amdgpu_cs_uvd_enc_session_init() 290 ib_cpu[len++] = 0x000000d8; in amdgpu_cs_uvd_enc_session_init() 291 ib_cpu[len++] = 0x00000000; in amdgpu_cs_uvd_enc_session_init() 292 ib_cpu[len++] = 0x00000000; in amdgpu_cs_uvd_enc_session_init() 294 memcpy((ib_cpu + len), uve_op_init, sizeof(uve_op_init)); in amdgpu_cs_uvd_enc_session_init() [all …]
|
D | vcn_tests.c | 65 static uint32_t *ib_cpu; variable 153 &ib_handle, (void**)&ib_cpu, in suite_vcn_tests_init() 274 ib_cpu[(*idx)++] = reg.data0; in vcn_dec_cmd() 275 ib_cpu[(*idx)++] = addr; in vcn_dec_cmd() 276 ib_cpu[(*idx)++] = reg.data1; in vcn_dec_cmd() 277 ib_cpu[(*idx)++] = addr >> 32; in vcn_dec_cmd() 278 ib_cpu[(*idx)++] = reg.cmd; in vcn_dec_cmd() 279 ib_cpu[(*idx)++] = cmd << 1; in vcn_dec_cmd() 299 ib_cpu[len++] = reg.data0; in amdgpu_cs_vcn_dec_create() 300 ib_cpu[len++] = msg_buf.addr; in amdgpu_cs_vcn_dec_create() [all …]
|
D | cs_tests.c | 48 static uint32_t *ib_cpu; variable 123 ib_cpu = ib_result_cpu; in suite_cs_tests_init() 194 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC4 : 0x81C4; in uvd_cmd() 195 ib_cpu[(*idx)++] = addr; in uvd_cmd() 196 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC5 : 0x81C5; in uvd_cmd() 197 ib_cpu[(*idx)++] = addr >> 32; in uvd_cmd() 198 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC3 : 0x81C3; in uvd_cmd() 199 ib_cpu[(*idx)++] = cmd << 1; in uvd_cmd() 255 ib_cpu[i] = 0x80000000; in amdgpu_cs_uvd_create() 387 ib_cpu[i++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC6 : 0x81C6; in amdgpu_cs_uvd_decode() [all …]
|