Home
last modified time | relevance | path

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

/drivers/gpu/drm/qxl/
Dqxl_ioctl.c80 void *reloc_page; in apply_reloc() local
82 reloc_page = qxl_bo_kmap_atomic_page(qdev, dst, dst_off & PAGE_MASK); in apply_reloc()
83 *(uint64_t *)(reloc_page + (dst_off & ~PAGE_MASK)) = qxl_bo_physical_address(qdev, in apply_reloc()
85 qxl_bo_kunmap_atomic_page(qdev, dst, reloc_page); in apply_reloc()
93 void *reloc_page; in apply_surf_reloc() local
98 reloc_page = qxl_bo_kmap_atomic_page(qdev, dst, dst_off & PAGE_MASK); in apply_surf_reloc()
99 *(uint32_t *)(reloc_page + (dst_off & ~PAGE_MASK)) = id; in apply_surf_reloc()
100 qxl_bo_kunmap_atomic_page(qdev, dst, reloc_page); in apply_surf_reloc()
/drivers/gpu/drm/i915/
Di915_gem_execbuffer.c272 void __iomem *reloc_page; in i915_gem_execbuffer_relocate_entry() local
284 reloc_page = io_mapping_map_atomic_wc(dev_priv->gtt.mappable, in i915_gem_execbuffer_relocate_entry()
287 (reloc_page + (reloc->offset & ~PAGE_MASK)); in i915_gem_execbuffer_relocate_entry()
289 io_mapping_unmap_atomic(reloc_page); in i915_gem_execbuffer_relocate_entry()