[PATCH 2/3] drm/etnaviv: fix dma configuration of the virtual device

Russell King (Oracle) linux at armlinux.org.uk
Thu Aug 26 12:14:26 UTC 2021


On Thu, Aug 26, 2021 at 02:10:05PM +0200, Michael Walle wrote:
> +	pdev->dev.coherent_dma_mask = DMA_BIT_MASK(40);
> +	pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;

Please use dma_coerce_mask_and_coherent() here instead.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!


More information about the dri-devel mailing list