Searched refs:ib_cpu (Results 1 – 4 of 4) sorted by relevance
/external/libdrm/tests/amdgpu/ |
D | vce_tests.c | 70 static uint32_t *ib_cpu; variable 132 &ib_handle, (void**)&ib_cpu, in suite_vce_tests_init() 266 memcpy(ib_cpu, vce_session, sizeof(vce_session)); in amdgpu_cs_vce_create() 268 memcpy((ib_cpu + len), vce_taskinfo, sizeof(vce_taskinfo)); in amdgpu_cs_vce_create() 270 memcpy((ib_cpu + len), vce_create, sizeof(vce_create)); in amdgpu_cs_vce_create() 271 ib_cpu[len + 8] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 272 ib_cpu[len + 9] = ALIGN(enc.width, align); in amdgpu_cs_vce_create() 274 memcpy((ib_cpu + len), vce_feedback, sizeof(vce_feedback)); in amdgpu_cs_vce_create() 275 ib_cpu[len + 2] = enc.fb[0].addr >> 32; in amdgpu_cs_vce_create() 276 ib_cpu[len + 3] = enc.fb[0].addr; 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 | 56 static uint32_t *ib_cpu; variable 119 &ib_handle, (void**)&ib_cpu, in suite_vcn_tests_init() 240 ib_cpu[(*idx)++] = 0x81C4; in vcn_dec_cmd() 241 ib_cpu[(*idx)++] = addr; in vcn_dec_cmd() 242 ib_cpu[(*idx)++] = 0x81C5; in vcn_dec_cmd() 243 ib_cpu[(*idx)++] = addr >> 32; in vcn_dec_cmd() 244 ib_cpu[(*idx)++] = 0x81C3; in vcn_dec_cmd() 245 ib_cpu[(*idx)++] = cmd << 1; in vcn_dec_cmd() 265 ib_cpu[len++] = 0x81C4; in amdgpu_cs_vcn_dec_create() 266 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() 386 ib_cpu[i++] = (family_id < AMDGPU_FAMILY_AI) ? 0x3BC6 : 0x81C6; in amdgpu_cs_uvd_decode() [all …]
|