Lines Matching refs:sgt
125 drm_prime_gem_destroy(obj, exynos_gem->sgt); in exynos_drm_gem_destroy()
409 struct sg_table *sgt; in exynos_drm_gem_prime_get_sg_table() local
412 sgt = kzalloc(sizeof(*sgt), GFP_KERNEL); in exynos_drm_gem_prime_get_sg_table()
413 if (!sgt) in exynos_drm_gem_prime_get_sg_table()
416 ret = dma_get_sgtable_attrs(to_dma_dev(drm_dev), sgt, exynos_gem->cookie, in exynos_drm_gem_prime_get_sg_table()
421 kfree(sgt); in exynos_drm_gem_prime_get_sg_table()
425 return sgt; in exynos_drm_gem_prime_get_sg_table()
431 struct sg_table *sgt) in exynos_drm_gem_prime_import_sg_table() argument
436 if (drm_prime_get_contiguous_size(sgt) < attach->dmabuf->size) { in exynos_drm_gem_prime_import_sg_table()
455 exynos_gem->dma_addr = sg_dma_address(sgt->sgl); in exynos_drm_gem_prime_import_sg_table()
456 exynos_gem->sgt = sgt; in exynos_drm_gem_prime_import_sg_table()