]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/panfrost: Force AARCH64_4K page table format on MediaTek MT8192
authorAriel D'Alessandro <ariel.dalessandro@collabora.com>
Mon, 24 Mar 2025 18:58:01 +0000 (15:58 -0300)
committerSteven Price <steven.price@arm.com>
Mon, 31 Mar 2025 11:12:55 +0000 (12:12 +0100)
commitbfb20a655848a9088e3e9ae24b1dcce1bbf016c2
treef764cd12f298c56d47e8748ec4b5e430c9f812bd
parent21fc936cae387e002a6ba6be30ca3fc24b6f6c50
drm/panfrost: Force AARCH64_4K page table format on MediaTek MT8192

MediaTek MT8192 SoC has an ARM Mali-G57 MC5 GPU (Valhall-JM). Now that
Panfrost supports AARCH64_4K page table format, let's enable it on this
SoC.

Running glmark2-es2-drm [0] benchmark, reported the same performance
score on both modes Mali LPAE (LEGACY) vs. AARCH64_4K, before and after
this commit. Tested on a Mediatek (MT8395) Genio 1200 EVK board.

[0] https://github.com/glmark2/glmark2

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