Re: [PATCH v2 3/3] drm/panfrost: Add initial panfrost driver
From: Neil Armstrong
Date: Mon Apr 01 2019 - 04:24:50 EST
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@xxxxxxxxxxxxxxx>
> Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxx>
> Cc: Sean Paul <sean@xxxxxxxxxx>
> Cc: David Airlie <airlied@xxxxxxxx>
> Cc: Daniel Vetter <daniel@xxxxxxxx>
> Cc: Alyssa Rosenzweig <alyssa@xxxxxxxxxxxxx>
> Cc: Lyude Paul <lyude@xxxxxxxxxx>
> Cc: Eric Anholt <eric@xxxxxxxxxx>
> Signed-off-by: Marty E. Plummer <hanetzer@xxxxxxxxxxxxx>
> Signed-off-by: Tomeu Vizoso <tomeu.vizoso@xxxxxxxxxxxxx>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> 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.
Neil
>
> drivers/gpu/drm/Kconfig | 2 +
> drivers/gpu/drm/Makefile | 1 +
> drivers/gpu/drm/panfrost/Kconfig | 14 +
> drivers/gpu/drm/panfrost/Makefile | 12 +
> drivers/gpu/drm/panfrost/TODO | 27 +
> drivers/gpu/drm/panfrost/panfrost_devfreq.c | 191 +++++++
> drivers/gpu/drm/panfrost/panfrost_devfreq.h | 14 +
> drivers/gpu/drm/panfrost/panfrost_device.c | 227 ++++++++
> drivers/gpu/drm/panfrost/panfrost_device.h | 118 ++++
> drivers/gpu/drm/panfrost/panfrost_drv.c | 484 ++++++++++++++++
> drivers/gpu/drm/panfrost/panfrost_features.h | 309 +++++++++++
> drivers/gpu/drm/panfrost/panfrost_gem.c | 92 +++
> drivers/gpu/drm/panfrost/panfrost_gem.h | 29 +
> drivers/gpu/drm/panfrost/panfrost_gpu.c | 374 +++++++++++++
> drivers/gpu/drm/panfrost/panfrost_gpu.h | 19 +
> drivers/gpu/drm/panfrost/panfrost_issues.h | 176 ++++++
> drivers/gpu/drm/panfrost/panfrost_job.c | 556 +++++++++++++++++++
> drivers/gpu/drm/panfrost/panfrost_job.h | 51 ++
> drivers/gpu/drm/panfrost/panfrost_mmu.c | 366 ++++++++++++
> drivers/gpu/drm/panfrost/panfrost_mmu.h | 17 +
> drivers/gpu/drm/panfrost/panfrost_regs.h | 298 ++++++++++
> include/uapi/drm/panfrost_drm.h | 140 +++++
> 22 files changed, 3517 insertions(+)
> create mode 100644 drivers/gpu/drm/panfrost/Kconfig
> create mode 100644 drivers/gpu/drm/panfrost/Makefile
> create mode 100644 drivers/gpu/drm/panfrost/TODO
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_devfreq.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_devfreq.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_device.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_device.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_drv.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_features.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_gem.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_gem.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_gpu.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_gpu.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_issues.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_job.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_job.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_mmu.c
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_mmu.h
> create mode 100644 drivers/gpu/drm/panfrost/panfrost_regs.h
> create mode 100644 include/uapi/drm/panfrost_drm.h
>
[...]