Hi Lucas,
we tested your patch on PHYTEC i.MX6Q phyCORE with 1GiB and 2GiB RAM variants.
I can happily report that the previous issues with "command buffer outside
valid memory window" are gone when using kernel's cmdline parameter cma=256M
for example!
If you want you can add:
Tested-by: Primo
Am Mo., 3. Mai 2021 um 12:24 Uhr schrieb Lucas Stach :
>
> The current calculation based on the required_dma mask can be significantly
> off, so that the linear window only overlaps a small part of the DRAM
> address space. This can lead to the command buffer being unmappable, which
> is obviously