[PATCH v2 3/3] drm/panfrost: Add initial panfrost driver
Robin Murphy
robin.murphy at arm.com
Mon Apr 1 19:17:24 UTC 2019
On 01/04/2019 09:24, Neil Armstrong wrote:
> On 01/04/2019 09:47, Rob Herring wrote:
>> This adds the initial driver for panfrost which supports Arm Mali
>> Midgard and Bifrost family of GPUs. Currently, only the T860 and
>> T760 Midgard GPUs have been tested.
>>
>> v2:
>> - Add GPU reset on job hangs (Tomeu)
>> - Add RuntimePM and devfreq support (Tomeu)
>> - Fix T760 support (Tomeu)
>> - Add a TODO file (Rob, Tomeu)
>> - Support multiple in fences (Tomeu)
>> - Drop support for shared fences (Tomeu)
>> - Fill in MMU de-init (Rob)
>> - Move register definitions back to single header (Rob)
>> - Clean-up hardcoded job submit todos (Rob)
>> - Implement feature setup based on features/issues (Rob)
>> - Add remaining Midgard DT compatible strings (Rob)
>>
>> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
>> Cc: Maxime Ripard <maxime.ripard at bootlin.com>
>> Cc: Sean Paul <sean at poorly.run>
>> Cc: David Airlie <airlied at linux.ie>
>> Cc: Daniel Vetter <daniel at ffwll.ch>
>> Cc: Alyssa Rosenzweig <alyssa at rosenzweig.io>
>> Cc: Lyude Paul <lyude at redhat.com>
>> Cc: Eric Anholt <eric at anholt.net>
>> Signed-off-by: Marty E. Plummer <hanetzer at startmail.com>
>> Signed-off-by: Tomeu Vizoso <tomeu.vizoso at collabora.com>
>> Signed-off-by: Rob Herring <robh at kernel.org>
>> ---
>> Neil, I've kept your reset support separate for now. Let me know if you
>> prefer me to squash it or keep it separate.
>
> You can squash all my changes and add my sign-off.
FWIW, looking at Rob's branch there's a little bug in panfrost_reset_init():
+ if (IS_ERR(pfdev->rstc)) {
+ dev_err(pfdev->dev, "get reset failed %ld\n", PTR_ERR(pfdev->clock));
Looks like that "pfdev->clock" should be "pfdev->rstc".
Robin.
More information about the dri-devel
mailing list