Home
last modified time | relevance | path

Searched refs:map_cpu (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/iris/
Diris_bufmgr.c641 bo->map_cpu = ptr; in iris_bo_create_userptr()
798 if (bo->map_cpu && !bo->userptr) { in bo_free()
799 VG_NOACCESS(bo->map_cpu, bo->size); in bo_free()
800 os_munmap(bo->map_cpu, bo->size); in bo_free()
1016 if (!bo->map_cpu) { in iris_bo_map_cpu()
1025 if (p_atomic_cmpxchg(&bo->map_cpu, NULL, map)) { in iris_bo_map_cpu()
1030 assert(bo->map_cpu); in iris_bo_map_cpu()
1033 bo->map_cpu); in iris_bo_map_cpu()
1057 gen_invalidate_range(bo->map_cpu, bo->size); in iris_bo_map_cpu()
1060 return bo->map_cpu; in iris_bo_map_cpu()
Diris_bufmgr.h188 void *map_cpu; member
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_bufmgr.c849 if (bo->map_cpu) { in bo_free()
850 VG_NOACCESS(bo->map_cpu, bo->size); in bo_free()
851 drm_munmap(bo->map_cpu, bo->size); in bo_free()
1078 if (!bo->map_cpu) { in brw_bo_map_cpu()
1084 if (p_atomic_cmpxchg(&bo->map_cpu, NULL, map)) { in brw_bo_map_cpu()
1089 assert(bo->map_cpu); in brw_bo_map_cpu()
1092 bo->map_cpu); in brw_bo_map_cpu()
1116 gen_invalidate_range(bo->map_cpu, bo->size); in brw_bo_map_cpu()
1119 return bo->map_cpu; in brw_bo_map_cpu()
Dbrw_bufmgr.h174 void *map_cpu; member