aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_drv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_drv.c')
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_drv.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c
index bb82ef78ca85..81192d00b39e 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_drv.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_drv.c
@@ -286,7 +286,11 @@ static struct drm_driver exynos_drm_driver = {
286 286
287static int exynos_drm_platform_probe(struct platform_device *pdev) 287static int exynos_drm_platform_probe(struct platform_device *pdev)
288{ 288{
289 pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32); 289 int ret;
290
291 ret = dma_set_coherent_mask(&pdev->dev, DMA_BIT_MASK(32));
292 if (ret)
293 return ret;
290 294
291 return drm_platform_init(&exynos_drm_driver, pdev); 295 return drm_platform_init(&exynos_drm_driver, pdev);
292} 296}