Searched refs:BO_MAP_WRITE (Results 1 – 9 of 9) sorted by relevance
46 #define BO_MAP_WRITE (1 << 1) macro47 #define BO_MAP_READ_WRITE (BO_MAP_READ | BO_MAP_WRITE)
132 if (priv && (mapping->vma->map_flags & BO_MAP_WRITE)) in mediatek_bo_flush()
520 if (mapping->vma->map_flags & BO_MAP_WRITE) in i915_bo_invalidate()524 if (mapping->vma->map_flags & BO_MAP_WRITE) in i915_bo_invalidate()
296 if (priv && (mapping->vma->map_flags & BO_MAP_WRITE)) in rockchip_bo_flush()
262 if (!(mapping->vma->map_flags & BO_MAP_WRITE)) in virtio_gpu_bo_flush()
237 map_flags |= (transfer_flags & GBM_BO_TRANSFER_WRITE) ? BO_MAP_WRITE : BO_MAP_NONE; in gbm_bo_map()
345 if (priv && (mapping->vma->map_flags & BO_MAP_WRITE)) in tegra_bo_flush()
449 return (BO_MAP_WRITE & map_flags) ? PROT_WRITE | PROT_READ : PROT_READ; in drv_get_prot()
89 map_flags |= BO_MAP_WRITE; in gralloc0_convert_map_usage()