Home
last modified time | relevance | path

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

/external/libdrm/amdgpu/
Damdgpu_bo.c69 if (bo->cpu_map_count > 0) { in amdgpu_bo_free_internal()
70 bo->cpu_map_count = 1; in amdgpu_bo_free_internal()
437 assert(bo->cpu_map_count > 0); in amdgpu_bo_cpu_map()
438 bo->cpu_map_count++; in amdgpu_bo_cpu_map()
444 assert(bo->cpu_map_count == 0); in amdgpu_bo_cpu_map()
468 bo->cpu_map_count = 1; in amdgpu_bo_cpu_map()
480 assert(bo->cpu_map_count >= 0); in amdgpu_bo_cpu_unmap()
482 if (bo->cpu_map_count == 0) { in amdgpu_bo_cpu_unmap()
488 bo->cpu_map_count--; in amdgpu_bo_cpu_unmap()
489 if (bo->cpu_map_count > 0) { in amdgpu_bo_cpu_unmap()
Damdgpu_internal.h104 int cpu_map_count; member