Re: [PATCH] drm/etnaviv: rework linear window offset calculation

2021-05-03 Thread Primoz Fiser
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

Re: [PATCH] drm/etnaviv: rework linear window offset calculation

2021-05-03 Thread Christian Gmeiner
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

[PATCH] drm/etnaviv: rework linear window offset calculation

2021-05-03 Thread 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 bad. Rework the linear window offset calculation to be based on

[PATCH] drm/etnaviv: rework linear window offset calculation

2021-03-19 Thread 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 bad. Rework the linear window offset calculation to be based on