mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Some GPUs do not support using DMA to transfer code/data from system memory to Falcon memory, and instead must use programmed I/O (PIO). Add a function to the Falcon HAL to indicate whether a given GPU's Falcons support DMA for this purpose. Signed-off-by: Timur Tabi <[email protected]> Reviewed-by: Gary Guo <[email protected]> Acked-by: Danilo Krummrich <[email protected]> Link: https://patch.msgid.link/[email protected] [[email protected]: add short code to call into the HAL.] [[email protected]: make `dma_load` private as per feedback.] Signed-off-by: Alexandre Courbot <[email protected]>