Home
last modified time | relevance | path

Searched refs:mapped_idx (Results 1 – 10 of 10) 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/msm8996/libcopybit/
Dcopybit_c2d.cpp345 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
381 mapped_idx = freeindex; in c2d_get_gpuaddr()
387 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
389 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
392 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
393 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
394 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
502 const eC2DFlags flags, int &mapped_idx) in set_image() argument
509 mapped_idx = -1; in set_image()
528 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp345 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
381 mapped_idx = freeindex; in c2d_get_gpuaddr()
387 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
389 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
392 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
393 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
394 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
502 const eC2DFlags flags, int &mapped_idx) in set_image() argument
509 mapped_idx = -1; in set_image()
528 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp345 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
381 mapped_idx = freeindex; in c2d_get_gpuaddr()
387 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
389 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
392 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
393 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
394 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
502 const eC2DFlags flags, int &mapped_idx) in set_image() argument
509 mapped_idx = -1; in set_image()
528 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit_c2d.cpp345 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
381 mapped_idx = freeindex; in c2d_get_gpuaddr()
387 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
389 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
392 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
393 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
394 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
502 const eC2DFlags flags, int &mapped_idx) in set_image() argument
509 mapped_idx = -1; in set_image()
528 gpuaddr = c2d_get_gpuaddr(ctx, handle, mapped_idx); in set_image()
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp343 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
379 mapped_idx = freeindex; in c2d_get_gpuaddr()
385 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
387 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
390 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
391 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
392 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
500 const eC2DFlags flags, int &mapped_idx) in set_image() argument
507 mapped_idx = -1; in set_image()
526 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 …]
/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/sm7250/display/libcopybit/
Dcopybit_c2d.cpp345 struct private_handle_t *handle, int &mapped_idx) in c2d_get_gpuaddr() argument
381 mapped_idx = freeindex; in c2d_get_gpuaddr()
387 static void unmap_gpuaddr(copybit_context_t* ctx, int mapped_idx) in unmap_gpuaddr() argument
389 if (!ctx || (mapped_idx == -1)) in unmap_gpuaddr()
392 if (ctx->mapped_gpu_addr[mapped_idx]) { in unmap_gpuaddr()
393 LINK_c2dUnMapAddr( (void*)ctx->mapped_gpu_addr[mapped_idx]); in unmap_gpuaddr()
394 ctx->mapped_gpu_addr[mapped_idx] = 0; in unmap_gpuaddr()
502 const eC2DFlags flags, int &mapped_idx) in set_image() argument
509 mapped_idx = -1; in set_image()
528 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 …]