Home
last modified time | relevance | path

Searched refs:ib_cpu (Results 1 – 4 of 4) sorted by relevance

/external/libdrm/tests/amdgpu/
Dvce_tests.c78 static uint32_t *ib_cpu; variable
167 &ib_handle, (void**)&ib_cpu, in suite_vce_tests_init()
301 memcpy(ib_cpu, vce_session, sizeof(vce_session)); in amdgpu_cs_vce_create()
303 memcpy((ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo)); in amdgpu_cs_vce_create()
305 memcpy((ib_cpu + len), vce_create, sizeof(vce_create)); in amdgpu_cs_vce_create()
306 ib_cpu[len + 8] = ALIGN(enc.width, align); in amdgpu_cs_vce_create()
307 ib_cpu[len + 9] = ALIGN(enc.width, align); in amdgpu_cs_vce_create()
310 ib_cpu[len + 11] = 0x01000001; in amdgpu_cs_vce_create()
312 ib_cpu[len + 11] = 0x01000201; in amdgpu_cs_vce_create()
315 memcpy((ib_cpu + len), vce_feedback, sizeof(vce_feedback)); in amdgpu_cs_vce_create()
[all …]
Duvd_enc_tests.c67 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 …]
Dvcn_tests.c69 static uint32_t *ib_cpu; variable
188 &ib_handle, (void**)&ib_cpu, in suite_vcn_tests_init()
309 ib_cpu[(*idx)++] = reg.data0; in vcn_dec_cmd()
310 ib_cpu[(*idx)++] = addr; in vcn_dec_cmd()
311 ib_cpu[(*idx)++] = reg.data1; in vcn_dec_cmd()
312 ib_cpu[(*idx)++] = addr >> 32; in vcn_dec_cmd()
313 ib_cpu[(*idx)++] = reg.cmd; in vcn_dec_cmd()
314 ib_cpu[(*idx)++] = cmd << 1; in vcn_dec_cmd()
334 ib_cpu[len++] = reg.data0; in amdgpu_cs_vcn_dec_create()
335 ib_cpu[len++] = msg_buf.addr; in amdgpu_cs_vcn_dec_create()
[all …]
Dcs_tests.c48 static uint32_t *ib_cpu; variable
127 ib_cpu = ib_result_cpu; in suite_cs_tests_init()
198 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC4 : 0x81C4; in uvd_cmd()
199 ib_cpu[(*idx)++] = addr; in uvd_cmd()
200 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC5 : 0x81C5; in uvd_cmd()
201 ib_cpu[(*idx)++] = addr >> 32; in uvd_cmd()
202 ib_cpu[(*idx)++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC3 : 0x81C3; in uvd_cmd()
203 ib_cpu[(*idx)++] = cmd << 1; in uvd_cmd()
259 ib_cpu[i] = 0x80000000; in amdgpu_cs_uvd_create()
391 ib_cpu[i++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC6 : 0x81C6; in amdgpu_cs_uvd_decode()
[all …]