• Home
  • Raw
  • Download

Lines Matching refs:buf_handle

205 	amdgpu_bo_handle buf_handle;  in amdgpu_cs_uvd_create()  local
214 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_create()
223 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_MAP); in amdgpu_cs_uvd_create()
226 r = amdgpu_bo_cpu_map(buf_handle, &msg); in amdgpu_cs_uvd_create()
245 r = amdgpu_bo_cpu_unmap(buf_handle); in amdgpu_cs_uvd_create()
249 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_create()
260 r = amdgpu_bo_va_op(buf_handle, 0, 4096, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_create()
266 r = amdgpu_bo_free(buf_handle); in amdgpu_cs_uvd_create()
275 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_decode() local
292 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_decode()
301 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in amdgpu_cs_uvd_decode()
305 r = amdgpu_bo_cpu_map(buf_handle, (void **)&ptr); in amdgpu_cs_uvd_decode()
349 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_decode()
399 r = amdgpu_bo_cpu_unmap(buf_handle); in amdgpu_cs_uvd_decode()
402 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_decode()
408 r = amdgpu_bo_free(buf_handle); in amdgpu_cs_uvd_decode()
415 amdgpu_bo_handle buf_handle; in amdgpu_cs_uvd_destroy() local
424 r = amdgpu_bo_alloc(device_handle, &req, &buf_handle); in amdgpu_cs_uvd_destroy()
433 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, in amdgpu_cs_uvd_destroy()
437 r = amdgpu_bo_cpu_map(buf_handle, &msg); in amdgpu_cs_uvd_destroy()
444 r = amdgpu_bo_cpu_unmap(buf_handle); in amdgpu_cs_uvd_destroy()
448 resources[num_resources++] = buf_handle; in amdgpu_cs_uvd_destroy()
459 r = amdgpu_bo_va_op(buf_handle, 0, req.alloc_size, va, 0, AMDGPU_VA_OP_UNMAP); in amdgpu_cs_uvd_destroy()
465 r = amdgpu_bo_free(buf_handle); in amdgpu_cs_uvd_destroy()