Re: [PATCH] drm/exynos: Fix dma-buf import

2017-10-30 Thread Tobias Jakobi
Marek Szyprowski wrote: > When IOMMU support was enabled, dma-buf import in Exynos DRM was broken > since commit f43c35966a5a ("drm/exynos: use real device for DMA-mapping > operations") due to using wrong struct device in drm_gem_prime_import() > function. This patch fixes following kernel BUG cau

[PATCH] drm/exynos: Fix dma-buf import

2017-10-30 Thread Marek Szyprowski
When IOMMU support was enabled, dma-buf import in Exynos DRM was broken since commit f43c35966a5a ("drm/exynos: use real device for DMA-mapping operations") due to using wrong struct device in drm_gem_prime_import() function. This patch fixes following kernel BUG caused by incorrect buffer mapping