[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250403055210.54486-1-simons.philippe@gmail.com>
Date: Thu, 3 Apr 2025 07:52:07 +0200
From: Philippe Simons <simons.philippe@...il.com>
To: Boris Brezillon <boris.brezillon@...labora.com>,
Rob Herring <robh@...nel.org>,
Steven Price <steven.price@....com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>,
Simona Vetter <simona@...ll.ch>,
Philipp Zabel <p.zabel@...gutronix.de>
Cc: dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
linux-sunxi@...ts.linux.dev,
Andre Przywara <andre.przywara@....com>,
Jernej Škrabec <jernej.skrabec@...il.com>
Subject: [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/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
Powered by blists - more mailing lists