mbox series

[0/9] drm/panfrost: Initial Valhall support

Message ID 20220211202728.6146-1-alyssa.rosenzweig@collabora.com (mailing list archive)
Headers show
Series drm/panfrost: Initial Valhall support | expand

Message

Alyssa Rosenzweig Feb. 11, 2022, 8:27 p.m. UTC
From: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>

This patch series adds preliminary support for Mali "Valhall" GPUs into
the Panfrost kernel driver. The series has been tested on the Mali-G57
on a MediaTek MT8192 system. However, that system requires additional
MediaTek-specific patches [1] as well as core mainlining for MediaTek.
I'll post the MT8192-specific Panfrost patches soon; they depend on this
core series.

On the userspace side, pre-CSF Valhall (what is supported here) uses an
identical UABI as Bifrost. Mesa support for Valhall is being worked on
in parallel [2]. I'm hoping basic support for Valhall will be available
in Mesa 22.1.

[1] https://gitlab.freedesktop.org/panfrost/linux/-/tree/mt8192-branch
[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14795

Alyssa Rosenzweig (9):
  dt-bindings: Add arm,mali-valhall compatible
  drm/panfrost: Handle HW_ISSUE_TTRX_2968_TTRX_3162
  drm/panfrost: Constify argument to has_hw_issue
  drm/panfrost: Handle HW_ISSUE_TTRX_3076
  drm/panfrost: Add HW_ISSUE_TTRX_3485 quirk
  drm/panfrost: Add "clean only safe" feature bit
  drm/panfrost: Don't set L2_MMU_CONFIG quirks
  drm/panfrost: Add Mali-G57 "Natt" support
  drm/panfrost: Handle arm,mali-valhall compatible

 .../bindings/gpu/arm,mali-bifrost.yaml          |  1 +
 drivers/gpu/drm/panfrost/panfrost_device.c      |  9 +++++++--
 drivers/gpu/drm/panfrost/panfrost_drv.c         |  1 +
 drivers/gpu/drm/panfrost/panfrost_features.h    | 13 +++++++++++++
 drivers/gpu/drm/panfrost/panfrost_gpu.c         | 17 +++++------------
 drivers/gpu/drm/panfrost/panfrost_issues.h      | 17 ++++++++++++++++-
 drivers/gpu/drm/panfrost/panfrost_regs.h        |  1 +
 7 files changed, 44 insertions(+), 15 deletions(-)