Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c414 if (bo->cpu_map_count > 0) { in amdgpu_bo_free()
415 bo->cpu_map_count = 1; in amdgpu_bo_free()
438 assert(bo->cpu_map_count > 0); in amdgpu_bo_cpu_map()
439 bo->cpu_map_count++; in amdgpu_bo_cpu_map()
445 assert(bo->cpu_map_count == 0); in amdgpu_bo_cpu_map()
469 bo->cpu_map_count = 1; in amdgpu_bo_cpu_map()
481 assert(bo->cpu_map_count >= 0); in amdgpu_bo_cpu_unmap()
483 if (bo->cpu_map_count == 0) { in amdgpu_bo_cpu_unmap()
489 bo->cpu_map_count--; in amdgpu_bo_cpu_unmap()
490 if (bo->cpu_map_count > 0) { in amdgpu_bo_cpu_unmap()
Damdgpu_internal.h103 int cpu_map_count; member