mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] drm/msm: Decouple IFPC disable and sysprof
@ 2026-11-02 19:00 Rob Clark
  2026-11-02 19:00 ` [PATCH v2 1/4] drm/msm: Rework IFPC disable Rob Clark
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Rob Clark @ 2026-11-02 19:00 UTC (permalink / raw)
  To: dri-devel
  Cc: linux-arm-msm, freedreno, Anna Maniscalco, Rob Clark,
	Abhinav Kumar, Akhil P Oommen, David Airlie, Dmitry Baryshkov,
	Jessica Zhang, Konrad Dybcio, open list, Marijn Suijten,
	Sean Paul, Simona Vetter

Convert IFPC-disable into it's own refcnt so that multiple threads can
request IFPC to be disabled without stomping on each other.

Extracted out of gen8 GPU state capture series[1], as other than fixing
a missing IFPC disable in debugfs state capture path, it is unrelated.

[1] https://patchwork.freedesktop.org/series/176505/

v2:
- Fix double acquire of gmu->lock
- Fix missing a8xx hw_init() path
- Link to v1: https://lore.kernel.org/all/20261101174631.23637-1-robin.clark@oss.qualcomm.com/

Rob Clark (4):
  drm/msm: Rework IFPC disable
  drm/msm: Add cleanup help for disabling IFPC
  drm/msm/debugfs: Use cleanup.h for gpu state dump
  drm/msm: Inhibit IFPC for state snapshot

 drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 32 +++++++++++++++------------
 drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 12 ++++------
 drivers/gpu/drm/msm/adreno/a6xx_gpu.h |  3 ++-
 drivers/gpu/drm/msm/adreno/a8xx_gpu.c |  6 +----
 drivers/gpu/drm/msm/msm_debugfs.c     | 31 +++++++++++---------------
 drivers/gpu/drm/msm/msm_gpu.c         |  1 +
 drivers/gpu/drm/msm/msm_gpu.h         | 30 +++++++++++++++++++++----
 drivers/gpu/drm/msm/msm_perfcntr.c    |  7 +-----
 drivers/gpu/drm/msm/msm_submitqueue.c | 10 +++++----
 9 files changed, 72 insertions(+), 60 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-11-03 14:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 19:00 [PATCH v2 0/4] drm/msm: Decouple IFPC disable and sysprof Rob Clark
2026-11-02 19:00 ` [PATCH v2 1/4] drm/msm: Rework IFPC disable Rob Clark
2026-11-03 11:24   ` Konrad Dybcio
2026-11-03 13:26   ` Anna Maniscalco
2026-11-02 19:00 ` [PATCH v2 2/4] drm/msm: Add cleanup help for disabling IFPC Rob Clark
2026-11-03 11:24   ` Konrad Dybcio
2026-11-03 13:27   ` Anna Maniscalco
2026-11-02 19:00 ` [PATCH v2 3/4] drm/msm/debugfs: Use cleanup.h for gpu state dump Rob Clark
2026-11-03 11:28   ` Konrad Dybcio
2026-11-03 13:58     ` Rob Clark
2026-11-03 14:24       ` Anna Maniscalco
2026-11-03 14:58         ` Rob Clark
2026-11-03 13:27   ` Anna Maniscalco
2026-11-02 19:00 ` [PATCH v2 4/4] drm/msm: Inhibit IFPC for state snapshot Rob Clark
2026-11-03 11:28   ` Konrad Dybcio
2026-11-03 13:27   ` Anna Maniscalco

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

all inboxes | Powered by JetHome®