Home
last modified time | relevance | path

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

/external/libdrm/intel/
Dintel_bufmgr_fake.c429 drm_intel_bo_fake *bo_fake = (drm_intel_bo_fake *) bo; in alloc_block() local
433 unsigned int align_log2 = ffs(bo_fake->alignment) - 1; in alloc_block()
439 sz = (bo->size + bo_fake->alignment - 1) & ~(bo_fake->alignment - 1); in alloc_block()
456 bo_fake->block = block; in alloc_block()
467 drm_intel_bo_fake *bo_fake; in free_block() local
474 bo_fake = (drm_intel_bo_fake *) block->bo; in free_block()
476 if (bo_fake->flags & (BM_PINNED | BM_NO_BACKING_STORE)) in free_block()
479 if (!skip_dirty_copy && (bo_fake->card_dirty == 1)) { in free_block()
480 memcpy(bo_fake->backing_store, block->virtual, block->bo->size); in free_block()
481 bo_fake->card_dirty = 0; in free_block()
[all …]