aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_dmm_tiler.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_dmm_tiler.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c b/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
index acf667859cb6..701c4c10e08b 100644
--- a/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
+++ b/drivers/gpu/drm/omapdrm/omap_dmm_tiler.c
@@ -664,8 +664,9 @@ static int omap_dmm_probe(struct platform_device *dev)
664 } 664 }
665 665
666 /* set dma mask for device */ 666 /* set dma mask for device */
667 /* NOTE: this is a workaround for the hwmod not initializing properly */ 667 ret = dma_set_coherent_mask(&dev->dev, DMA_BIT_MASK(32));
668 dev->dev.coherent_dma_mask = DMA_BIT_MASK(32); 668 if (ret)
669 goto fail;
669 670
670 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); 671 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page);
671 672