drivers/gpu/drm/panfrost/panfrost_device.c | 71 ++++++++++++++++------ drivers/gpu/drm/panfrost/panfrost_device.h | 3 + drivers/gpu/drm/panfrost/panfrost_drv.c | 8 +++ 3 files changed, 63 insertions(+), 19 deletions(-)
Allwinner H616 has a dedicated power domain for its Mali G31. Currently after probe, the GPU is put in runtime suspend which disable the power domain. On first usage of GPU, the power domain enable hangs the system. This series adds the necessary calls to enable the clocks and deasserting the reset line after the power domain enabling and asserting the reset line and disabling the clocks prior to the power domain disabling. This allows to use the Mali GPU on all Allwinner H616 boards and devices. Changelog v1 .. v2: - merge flags to a single GPU_PM_RT flag - reorder init/deinit powerup/down sequences according to Mali manuals. Link to v1: https://lore.kernel.org/linux-sunxi/20250312232319.25712-1-simons.philippe@gmail.com/ Philippe Simons (3): drm/panfrost: Add PM runtime flag drm/panfrost: add h616 compatible string drm/panfrost: reorder pd/clk/rst sequence drivers/gpu/drm/panfrost/panfrost_device.c | 71 ++++++++++++++++------ drivers/gpu/drm/panfrost/panfrost_device.h | 3 + drivers/gpu/drm/panfrost/panfrost_drv.c | 8 +++ 3 files changed, 63 insertions(+), 19 deletions(-) base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b prerequisite-patch-id: eb8a11e2b24bb282970d8b8528834dea7ee392cc -- 2.49.0
Hi, is there any issue with this serie Thanks, Philippe On 4/3/25 07:52, Philippe Simons wrote: > Allwinner H616 has a dedicated power domain for its Mali G31. > > Currently after probe, the GPU is put in runtime suspend which > disable the power domain. > On first usage of GPU, the power domain enable hangs the system. > > This series adds the necessary calls to enable the clocks and > deasserting the reset line after the power domain enabling and > asserting the reset line and disabling the clocks prior to the > power domain disabling. > > This allows to use the Mali GPU on all Allwinner H616 > boards and devices. > > Changelog v1 .. v2: > - merge flags to a single GPU_PM_RT flag > - reorder init/deinit powerup/down sequences according to > Mali manuals. > Link to v1: > https://lore.kernel.org/linux-sunxi/20250312232319.25712-1-simons.philippe@gmail.com/ > > Philippe Simons (3): > drm/panfrost: Add PM runtime flag > drm/panfrost: add h616 compatible string > drm/panfrost: reorder pd/clk/rst sequence > > drivers/gpu/drm/panfrost/panfrost_device.c | 71 ++++++++++++++++------ > drivers/gpu/drm/panfrost/panfrost_device.h | 3 + > drivers/gpu/drm/panfrost/panfrost_drv.c | 8 +++ > 3 files changed, 63 insertions(+), 19 deletions(-) > > > base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b > prerequisite-patch-id: eb8a11e2b24bb282970d8b8528834dea7ee392cc
On 28/04/2025 07:10, Philippe Simons wrote: > Hi, is there any issue with this serie Hi, Sorry, no nothing wrong - it's just slipped through. Thanks for the reminder. I've applied it to drm-misc-next. Thanks, Steve > Thanks, > > Philippe > > On 4/3/25 07:52, Philippe Simons wrote: >> Allwinner H616 has a dedicated power domain for its Mali G31. >> >> Currently after probe, the GPU is put in runtime suspend which >> disable the power domain. >> On first usage of GPU, the power domain enable hangs the system. >> >> This series adds the necessary calls to enable the clocks and >> deasserting the reset line after the power domain enabling and >> asserting the reset line and disabling the clocks prior to the >> power domain disabling. >> >> This allows to use the Mali GPU on all Allwinner H616 >> boards and devices. >> >> Changelog v1 .. v2: >> - merge flags to a single GPU_PM_RT flag >> - reorder init/deinit powerup/down sequences according to >> Mali manuals. >> Link to v1: >> https://lore.kernel.org/linux-sunxi/20250312232319.25712-1- >> simons.philippe@gmail.com/ >> >> Philippe Simons (3): >> drm/panfrost: Add PM runtime flag >> drm/panfrost: add h616 compatible string >> drm/panfrost: reorder pd/clk/rst sequence >> >> drivers/gpu/drm/panfrost/panfrost_device.c | 71 ++++++++++++++++------ >> drivers/gpu/drm/panfrost/panfrost_device.h | 3 + >> drivers/gpu/drm/panfrost/panfrost_drv.c | 8 +++ >> 3 files changed, 63 insertions(+), 19 deletions(-) >> >> >> base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b >> prerequisite-patch-id: eb8a11e2b24bb282970d8b8528834dea7ee392cc
© 2016 - 2026 Red Hat, Inc.