Lucas Stach 2dc08a7dac drm/etnaviv: rework linear window offset calculation
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 the command buffer
physical address, making sure that the command buffer is always mappable.

Tested-by: Primoz Fiser <primoz.fiser@norik.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
2023-12-08 11:24:07 +08:00
2022-09-13 11:05:52 +08:00
2023-12-03 15:33:55 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-08-19 15:26:40 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2023-08-19 15:26:40 +08:00
2023-08-02 01:27:02 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2023-10-09 15:46:44 -05:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00
2022-09-13 11:05:52 +08:00

Please follow buildroot tips to startup T-HEAD C9xx CPU's boards: T-HEAD buildroot

Description
No description provided
Readme 222 MiB
Languages
C 97.8%
Assembly 1.2%
Shell 0.3%
Makefile 0.3%
Python 0.1%
Other 0.1%