Home
last modified time | relevance | path

Searched refs:cpu_map_count (Results 1 – 3 of 3) sorted by relevance

/third_party/libdrm/amdgpu/
Damdgpu_bo.c413 if (bo->cpu_map_count > 0) { in amdgpu_bo_free()
414 bo->cpu_map_count = 1; in amdgpu_bo_free()
443 assert(bo->cpu_map_count > 0); in amdgpu_bo_cpu_map()
444 bo->cpu_map_count++; in amdgpu_bo_cpu_map()
450 assert(bo->cpu_map_count == 0); in amdgpu_bo_cpu_map()
474 bo->cpu_map_count = 1; in amdgpu_bo_cpu_map()
486 assert(bo->cpu_map_count >= 0); in amdgpu_bo_cpu_unmap()
488 if (bo->cpu_map_count == 0) { in amdgpu_bo_cpu_unmap()
494 bo->cpu_map_count--; in amdgpu_bo_cpu_unmap()
495 if (bo->cpu_map_count > 0) { in amdgpu_bo_cpu_unmap()
Damdgpu_internal.h105 int64_t cpu_map_count; member
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/
Dgstd3d11memory.cpp272 gint cpu_map_count; member
395 if (priv->cpu_map_count == 0) { in gst_d3d11_memory_map_full()
426 priv->cpu_map_count++; in gst_d3d11_memory_map_full()
467 priv->cpu_map_count--; in gst_d3d11_memory_unmap_full()
468 if (priv->cpu_map_count > 0) in gst_d3d11_memory_unmap_full()