Searched refs:prime_attach (Results 1 – 1 of 1) sorted by relevance
173 struct drm_prime_attachment *prime_attach; in drm_gem_map_attach() local177 prime_attach = kzalloc(sizeof(*prime_attach), GFP_KERNEL); in drm_gem_map_attach()178 if (!prime_attach) in drm_gem_map_attach()181 prime_attach->dir = DMA_NONE; in drm_gem_map_attach()182 attach->priv = prime_attach; in drm_gem_map_attach()193 struct drm_prime_attachment *prime_attach = attach->priv; in drm_gem_map_detach() local201 if (!prime_attach) in drm_gem_map_detach()204 sgt = prime_attach->sgt; in drm_gem_map_detach()206 if (prime_attach->dir != DMA_NONE) in drm_gem_map_detach()208 prime_attach->dir); in drm_gem_map_detach()[all …]