[PATCH] Revert "dma-contiguous: do not allocate a single page from CMA area"

Jon Hunter jonathanh at nvidia.com
Wed Feb 27 14:04:25 UTC 2019


On 26/02/2019 20:23, Nicolin Chen wrote:
> This reverts commit d222e42e88168fd67e6d131984b86477af1fc256.
> 
> The original change breaks omap dss:
>     omapdss_dispc 58001000.dispc:
>         dispc_errata_i734_wa_init: dma_alloc_writecombine failed
> 
> Let's revert it first and then find a safer solution instead.
> 
> Reported-by: Tony Lindgren <tony at atomide.com>
> Signed-off-by: Nicolin Chen <nicoleotsuka at gmail.com>
> ---
> Tony,
> 	
> Would you please test and verify? Thanks!

This also fixes various memory allocation failures we have seen on
32-bit Tegra as well.

Tested-by: Jon Hunter <jonathanh at nvidia.com>

Cheers
Jon

-- 
nvpublic


More information about the dri-devel mailing list