Home
last modified time | relevance | path

Searched refs:mapped_idx (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp334 int &mapped_idx) in c2d_get_gpuaddr() argument
363 mapped_idx = i; in c2d_get_gpuaddr()
373 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
375 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
378 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
379 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
380 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
485 const eC2DFlags flags, int &mapped_idx) in set_image() argument
492 mapped_idx = -1; in set_image()
511 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit_c2d.cpp336 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
377 mapped_idx = freeindex; in c2d_get_gpuaddr()
383 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
385 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
388 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
389 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
390 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
495 const eC2DFlags flags, int &mapped_idx) in set_image() argument
502 mapped_idx = -1; in set_image()
521 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit_c2d.cpp338 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
378 mapped_idx = freeindex; in c2d_get_gpuaddr()
384 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
386 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
389 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
390 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
391 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
496 const eC2DFlags flags, int &mapped_idx) in set_image() argument
503 mapped_idx = -1; in set_image()
522 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit_c2d.cpp341 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
382 mapped_idx = freeindex; in c2d_get_gpuaddr()
388 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
390 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
393 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
394 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
395 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
501 const eC2DFlags flags, int &mapped_idx) in set_image() argument
508 mapped_idx = -1; in set_image()
527 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit_c2d.cpp342 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
383 mapped_idx = freeindex; in c2d_get_gpuaddr()
389 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
391 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
394 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
395 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
396 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
504 const eC2DFlags flags, int &mapped_idx) in set_image() argument
511 mapped_idx = -1; in set_image()
530 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]