Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c21 static int rockchip_gem_iommu_map(struct rockchip_gem_object *rk_obj) in rockchip_gem_iommu_map() argument
23 struct drm_device *drm = rk_obj->base.dev; in rockchip_gem_iommu_map()
29 ret = drm_mm_insert_node_generic(&private->mm, &rk_obj->mm, in rockchip_gem_iommu_map()
30 rk_obj->base.size, PAGE_SIZE, in rockchip_gem_iommu_map()
39 rk_obj->dma_addr = rk_obj->mm.start; in rockchip_gem_iommu_map()
41 ret = iommu_map_sgtable(private->domain, rk_obj->dma_addr, rk_obj->sgt, in rockchip_gem_iommu_map()
43 if (ret < (ssize_t)rk_obj->base.size) { in rockchip_gem_iommu_map()
45 ret, rk_obj->base.size); in rockchip_gem_iommu_map()
50 rk_obj->size = ret; in rockchip_gem_iommu_map()
56 drm_mm_remove_node(&rk_obj->mm); in rockchip_gem_iommu_map()
[all …]
Drockchip_drm_vop2.c1100 struct rockchip_gem_object *rk_obj; in vop2_plane_atomic_update() local
1131 rk_obj = to_rockchip_obj(fb->obj[0]); in vop2_plane_atomic_update()
1133 yrgb_mst = rk_obj->dma_addr + offset + fb->offsets[0]; in vop2_plane_atomic_update()
1144 rk_obj = to_rockchip_obj(fb->obj[0]); in vop2_plane_atomic_update()
1145 uv_mst = rk_obj->dma_addr + offset + fb->offsets[1]; in vop2_plane_atomic_update()
Drockchip_drm_vop.c917 struct rockchip_gem_object *rk_obj, *rk_uv_obj; in vop_plane_atomic_update() local
942 rk_obj = to_rockchip_obj(obj); in vop_plane_atomic_update()
957 dma_addr = rk_obj->dma_addr + offset + fb->offsets[0]; in vop_plane_atomic_update()