public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Add SMEM-based speedbin matching
@ 2024-04-05  8:41 Konrad Dybcio
  2024-04-05  8:41 ` [PATCH 1/6] soc: qcom: Move some socinfo defines to the header, expand them Konrad Dybcio
                   ` (6 more replies)
  0 siblings, 7 replies; 43+ messages in thread
From: Konrad Dybcio @ 2024-04-05  8:41 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Clark, Abhinav Kumar, Dmitry Baryshkov,
	Sean Paul, Marijn Suijten, David Airlie, Daniel Vetter,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, linux-kernel, dri-devel, freedreno, devicetree,
	Neil Armstrong, Konrad Dybcio

Newer (SM8550+) SoCs don't seem to have a nice speedbin fuse anymore,
but instead rely on a set of combinations of "feature code" (FC) and
"product code" (PC) identifiers to match the bins. This series adds
support for that.

I suppose a qcom/for-soc immutable branch would be in order if we want
to land this in the upcoming cycle.

FWIW I preferred the fuses myself..

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
Konrad Dybcio (5):
      soc: qcom: Move some socinfo defines to the header, expand them
      soc: qcom: smem: Add pcode/fcode getters
      drm/msm/adreno: Implement SMEM-based speed bin
      drm/msm/adreno: Add speedbin data for SM8550 / A740
      arm64: dts: qcom: sm8550: Wire up GPU speed bin & more OPPs

Neil Armstrong (1):
      drm/msm/adreno: Allow specifying default speedbin value

 arch/arm64/boot/dts/qcom/sm8550.dtsi       | 21 +++++++++-
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c      | 10 +++--
 drivers/gpu/drm/msm/adreno/adreno_device.c | 16 ++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c    | 39 ++++++++++++++++--
 drivers/gpu/drm/msm/adreno/adreno_gpu.h    | 13 ++++--
 drivers/soc/qcom/smem.c                    | 66 ++++++++++++++++++++++++++++++
 drivers/soc/qcom/socinfo.c                 |  8 ----
 include/linux/soc/qcom/smem.h              |  2 +
 include/linux/soc/qcom/socinfo.h           | 36 ++++++++++++++++
 9 files changed, 191 insertions(+), 20 deletions(-)
---
base-commit: 2b3d5988ae2cb5cd945ddbc653f0a71706231fdd
change-id: 20240404-topic-smem_speedbin-8deecd0bef0e

Best regards,
-- 
Konrad Dybcio <konrad.dybcio@linaro.org>


^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2024-04-12  0:49 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-05  8:41 [PATCH 0/6] Add SMEM-based speedbin matching Konrad Dybcio
2024-04-05  8:41 ` [PATCH 1/6] soc: qcom: Move some socinfo defines to the header, expand them Konrad Dybcio
2024-04-06  2:22   ` Dmitry Baryshkov
2024-04-11 18:55   ` Elliot Berman
2024-04-11 20:05     ` Konrad Dybcio
2024-04-11 20:09       ` Elliot Berman
2024-04-11 20:24         ` Konrad Dybcio
2024-04-11 23:49           ` Elliot Berman
2024-04-12  0:10             ` Konrad Dybcio
2024-04-12  0:49               ` Elliot Berman
2024-04-05  8:41 ` [PATCH 2/6] soc: qcom: smem: Add pcode/fcode getters Konrad Dybcio
2024-04-05 22:31   ` kernel test robot
2024-04-06  2:21   ` Dmitry Baryshkov
2024-04-09 15:04     ` Konrad Dybcio
2024-04-09 15:20   ` Bjorn Andersson
2024-04-11 19:09   ` Elliot Berman
2024-04-05  8:41 ` [PATCH 3/6] drm/msm/adreno: Allow specifying default speedbin value Konrad Dybcio
2024-04-06  2:56   ` Dmitry Baryshkov
2024-04-09 15:12     ` Konrad Dybcio
2024-04-09 15:23       ` Dmitry Baryshkov
2024-04-09 17:12         ` Rob Clark
2024-04-09 18:04           ` Dmitry Baryshkov
2024-04-09 18:07             ` Konrad Dybcio
2024-04-09 18:15               ` Dmitry Baryshkov
2024-04-09 18:27                 ` Konrad Dybcio
2024-04-09 18:31                   ` Dmitry Baryshkov
2024-04-10 11:47                     ` Konrad Dybcio
2024-04-05  8:41 ` [PATCH 4/6] drm/msm/adreno: Implement SMEM-based speed bin Konrad Dybcio
2024-04-06  3:23   ` Dmitry Baryshkov
2024-04-10 11:42     ` Konrad Dybcio
2024-04-10 19:26       ` Dmitry Baryshkov
2024-04-11 21:35         ` Konrad Dybcio
2024-04-11 21:46           ` Dmitry Baryshkov
2024-04-11 22:14             ` Konrad Dybcio
2024-04-06 10:32   ` kernel test robot
2024-04-06 10:42   ` kernel test robot
2024-04-05  8:41 ` [PATCH 5/6] drm/msm/adreno: Add speedbin data for SM8550 / A740 Konrad Dybcio
2024-04-06  3:25   ` Dmitry Baryshkov
2024-04-09 15:13     ` Konrad Dybcio
2024-04-09 15:24       ` Dmitry Baryshkov
2024-04-09 18:13         ` Konrad Dybcio
2024-04-05  8:41 ` [PATCH 6/6] arm64: dts: qcom: sm8550: Wire up GPU speed bin & more OPPs Konrad Dybcio
2024-04-06  3:28 ` [PATCH 0/6] Add SMEM-based speedbin matching Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox