drm/panfrost: Set IOMMU_CACHE flag
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Mon, 24 Mar 2025 18:57:56 +0000 (15:57 -0300)
committerSteven Price <steven.price@arm.com>
Mon, 31 Mar 2025 11:08:10 +0000 (12:08 +0100)
commitf91e534f4e605caabc6abd61809dd8d6698e7c71
tree79be5dc1f2aa5e956b25b160796e8b7471549aed
parent586831a417c9ffbcac63cf1b53f05d15024fdd56
drm/panfrost: Set IOMMU_CACHE flag

Panfrost does not support uncached mappings, so flag them properly. Also
flag the pages that are mapped as response to a page fault as cached.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Reviewed-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Signed-off-by: Steven Price <steven.price@arm.com>
Link: https://lore.kernel.org/r/20250324185801.168664-2-ariel.dalessandro@collabora.com
drivers/gpu/drm/panfrost/panfrost_mmu.c