]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/panfrost: Add GPU_PM_RT support for RZ/G3E SoC
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 3 Dec 2025 12:51:01 +0000 (12:51 +0000)
committerAdrian Larumbe <adrianml@alumnos.upm.es>
Sun, 21 Dec 2025 01:34:49 +0000 (01:34 +0000)
commit38b91e424c1ca0d6b909f8513509e1f6e938b193
tree78cbf4d2399bcdf36be81d9595f142da9c5877ca
parent4f1b30fe9ef550651ea353714d1119431e76824a
drm/panfrost: Add GPU_PM_RT support for RZ/G3E SoC

RZ/G3E SoC is embedded with Mali-G52 GPU system. The system hangs after
STR in the following condition:

STR -> Wakeup from STR -> Unload panfrost using 'modprobe -r panfrost'.

Fix this issue by asserting/deasserting the reset during suspend/resume.
Rename the variable allwinner_h616_data->default_pm_rt_data for data
reuse and make it as generic GPU PM runtime data.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Adrián Larumbe <adrian.larumbe@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patch.msgid.link/20251203125104.67596-1-biju.das.jz@bp.renesas.com
Signed-off-by: Adrian Larumbe <adrianml@alumnos.upm.es>
drivers/gpu/drm/panfrost/panfrost_drv.c