Skip to content

drm/panfrost: enable G31 on H616

Philippe Simons dri-devel linux-sunxi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v12 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/panfrost: Add PM runtime flagdrivers/gpu/drm/panfrost/panfrost_device.c drivers/gpu/drm/panfrost/panfrost_device.h+36 -00 replies
2/3drm/panfrost: add h616 compatible stringdrivers/gpu/drm/panfrost/panfrost_drv.c+8 -00 replies
3/3drm/panfrost: reorder pd/clk/rst sequencedrivers/gpu/drm/panfrost/panfrost_device.c+19 -191 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSteven PriceJohn Williams
1/3R-b
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm/panfrost: enable G31 on H616

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/[email protected]/

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

Signature · 1 line
2.49.0