Michael Walle 4a4a708db1 drm/etnaviv: use a 32 bit mask as coherent DMA mask
The STLB and the first command buffer (which is used to set up the TLBs)
has a 32 bit size restriction in hardware. There seems to be no way to
specify addresses larger than 32 bit. Keep it simple and restict the
addresses to the lower 4 GiB range for all coherent DMA memory
allocations.

Please note, that platform_device_alloc() will initialize dev->dma_mask
to point to pdev->platform_dma_mask, thus dma_set_mask() will work as
expected.

While at it, move the dma_mask setup code to the of_dma_configure() to
keep all the DMA setup code next to each other.

Suggested-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Michael Walle <michael@walle.cc>
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%