linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] drm/msm/a6xx: Add interconnect support
@ 2018-11-28 18:29 Jordan Crouse
  2018-11-28 18:29 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
  0 siblings, 1 reply; 6+ messages in thread
From: Jordan Crouse @ 2018-11-28 18:29 UTC (permalink / raw)
  To: linux-arm-kernel

I heard at LPC that there was some confusion that the OPP bindings [1]
were needed to land interconnect support. They aren't.

There is a two step process for the SDM845 GPU. First we need a vote (any vote)
because the default bus settings are way too bad for any reasonable
performance.

The next step after that would be to scale the bus request based on the
frequency in order to save power. For that we *do* need a solution but that
can be calmly discussed separately.

This patch accommodates the first step. It cranks the bus to max for GPU
activity and turns it off when the GPU goes to sleep. Hopefully this can
alleviate the confusion and help interconnect land that much quicker.
After that, we can calmly re-introduce the OPP discussion.

This patch depends on interconnect support [2].

[1] https://patchwork.kernel.org/patch/10577303/
[2] https://patchwork.kernel.org/patch/10701287/

Jordan Crouse (1):
  drm/msm/a6xx: Add support for an interconnect path

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c   | 20 ++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  9 +++++++++
 drivers/gpu/drm/msm/msm_gpu.h           |  3 +++
 3 files changed, 32 insertions(+)

-- 
2.18.0

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v2 0/1] drm/msm/a6xx: Add interconnect support
@ 2018-11-29 17:21 Jordan Crouse
  2018-11-29 17:21 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
  0 siblings, 1 reply; 6+ messages in thread
From: Jordan Crouse @ 2018-11-29 17:21 UTC (permalink / raw)
  To: georgi.djakov
  Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel,
	linux-arm-kernel

This is an updated version of [1] adding interconnect support
without OPP bindings to get maximum performance from the GPU.
Big delta here is that I stupidly confused Bps and KBps and
passed a value that overflowed the API.  Correct bandwidth
values are now passed.

[1] https://lists.freedesktop.org/archives/freedreno/2018-November/004347.html

v2: Make sure to pass values in correct units

Jordan Crouse (1):
  drm/msm/a6xx: Add support for an interconnect path

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c   | 20 ++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  9 +++++++++
 drivers/gpu/drm/msm/msm_gpu.h           |  3 +++
 3 files changed, 32 insertions(+)

-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH v3 0/1] drm/msm/a6xx: Add interconnect support
@ 2018-11-29 17:26 Jordan Crouse
  2018-11-29 17:26 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
  0 siblings, 1 reply; 6+ messages in thread
From: Jordan Crouse @ 2018-11-29 17:26 UTC (permalink / raw)
  To: georgi.djakov
  Cc: linux-arm-msm, dri-devel, freedreno, linux-kernel,
	linux-arm-kernel

(grr - resending because I didn't actually send the correct patch.
My fingers were going faster than my brain).

This is an updated version of [1] adding interconnect support
without OPP bindings to get maximum performance from the GPU.
Big delta here is that I stupidly confused Bps and KBps and
passed a value that overflowed the API. Correct bandwidth
values are now passed.

[1] https://lists.freedesktop.org/archives/freedreno/2018-November/004347.html

v3: Actually send correct patch with correct units
v2: Make sure to pass values in correct units

Jordan Crouse (1):
  drm/msm/a6xx: Add support for an interconnect path

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c   | 20 ++++++++++++++++++++
 drivers/gpu/drm/msm/adreno/adreno_gpu.c |  9 +++++++++
 drivers/gpu/drm/msm/msm_gpu.h           |  3 +++
 3 files changed, 32 insertions(+)

-- 
2.18.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2018-12-05 16:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28 18:29 [PATCH 0/1] drm/msm/a6xx: Add interconnect support Jordan Crouse
2018-11-28 18:29 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
2018-11-28 19:09   ` [Freedreno] " Rob Clark
  -- strict thread matches above, loose matches on Subject: below --
2018-11-29 17:21 [PATCH v2 0/1] drm/msm/a6xx: Add interconnect support Jordan Crouse
2018-11-29 17:21 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
2018-11-29 17:26 [PATCH v3 0/1] drm/msm/a6xx: Add interconnect support Jordan Crouse
2018-11-29 17:26 ` [PATCH 1/1] drm/msm/a6xx: Add support for an interconnect path Jordan Crouse
2018-12-05 16:51   ` Georgi Djakov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).