Lines Matching refs:num_resources
82 static unsigned num_resources; variable
210 r = amdgpu_bo_list_create(device_handle, num_resources, resources, in submit()
295 num_resources = 0; in amdgpu_cs_vce_create()
297 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_create()
298 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_create()
495 num_resources = 0; in amdgpu_cs_vce_encode()
497 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_encode()
499 resources[num_resources++] = enc.fb[1].handle; in amdgpu_cs_vce_encode()
501 resources[num_resources++] = enc.bs[0].handle; in amdgpu_cs_vce_encode()
503 resources[num_resources++] = enc.bs[1].handle; in amdgpu_cs_vce_encode()
505 resources[num_resources++] = enc.vbuf.handle; in amdgpu_cs_vce_encode()
507 resources[num_resources++] = enc.cpb.handle; in amdgpu_cs_vce_encode()
508 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_encode()
677 num_resources = 0; in amdgpu_cs_vce_encode_mv()
679 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_encode_mv()
681 resources[num_resources++] = enc.bs[0].handle; in amdgpu_cs_vce_encode_mv()
683 resources[num_resources++] = enc.mvb.handle; in amdgpu_cs_vce_encode_mv()
685 resources[num_resources++] = enc.vbuf.handle; in amdgpu_cs_vce_encode_mv()
687 resources[num_resources++] = enc.mvrefbuf.handle; in amdgpu_cs_vce_encode_mv()
689 resources[num_resources++] = enc.cpb.handle; in amdgpu_cs_vce_encode_mv()
690 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_encode_mv()
743 num_resources = 0; in amdgpu_cs_vce_destroy()
745 resources[num_resources++] = enc.fb[0].handle; in amdgpu_cs_vce_destroy()
746 resources[num_resources++] = ib_handle; in amdgpu_cs_vce_destroy()