mbox series

[v2,0/4] drm/msm/gpu: add support for ocmem interconnect

Message ID 20191122012645.7430-1-masneyb@onstation.org (mailing list archive)
Headers show
Series drm/msm/gpu: add support for ocmem interconnect | expand

Message

Brian Masney Nov. 22, 2019, 1:26 a.m. UTC
Some A3xx and all A4xx Adreno GPUs do not have GMEM inside the GPU core
and must use the On Chip MEMory (OCMEM) in order to be functional.
There's a separate interconnect path that needs to be setup to OCMEM.
This patch series adds support for that path, and sets the votes for the
two interconnect paths to the highest speed for a3xx and a4xx-based
platforms.

Changes since v1:
- Don't rename icc_path to gfx_mem_icc_path. Leave existing variable
  named as is and add comment to declaration in struct msm_gpu.

Brian Masney (4):
  dt-bindings: drm/msm/gpu: document second interconnect
  drm/msm/gpu: add support for ocmem interconnect path
  drm/msm/a3xx: set interconnect bandwidth vote
  drm/msm/a4xx: set interconnect bandwidth vote

 .../devicetree/bindings/display/msm/gpu.txt        |  6 +++++-
 drivers/gpu/drm/msm/adreno/a3xx_gpu.c              |  8 ++++++++
 drivers/gpu/drm/msm/adreno/a4xx_gpu.c              |  8 ++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c            | 14 +++++++++++++-
 drivers/gpu/drm/msm/msm_gpu.h                      |  7 +++++++
 5 files changed, 41 insertions(+), 2 deletions(-)