Home
last modified time | relevance | path

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

/external/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