All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] drm/panfrost: Fix poweroff and sync IRQs for suspend
@ 2023-12-01 10:40 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 24+ messages in thread
From: AngeloGioacchino Del Regno @ 2023-12-01 10:40 UTC (permalink / raw)
  To: boris.brezillon
  Cc: linux-kernel, mripard, steven.price, krzysztof.kozlowski,
	dri-devel, tzimmermann, m.szyprowski, kernel,
	angelogioacchino.delregno

Changes in v3:
 - Removed useless GPU_INT_CLEAR write in suspend path
 - Changed to clear suspend bits in job/mmu reset path

This series contains a fast fix for the basic GPU poweroff functionality
and goes further by implementing interrupt masking and synchronization
before suspend.

For more information, please look at the conversation at [1], which
explains the regression seen with the poweroff commit and the initial
approaches taken to solve that.

Cheers!

[1]: https://lore.kernel.org/all/20231123095320.41433-1-angelogioacchino.delregno@collabora.com/

AngeloGioacchino Del Regno (3):
  drm/panfrost: Ignore core_mask for poweroff and disable PWRTRANS irq
  drm/panfrost: Add gpu_irq, mmu_irq to struct panfrost_device
  drm/panfrost: Synchronize and disable interrupts before powering off

 drivers/gpu/drm/panfrost/panfrost_device.c |  3 +++
 drivers/gpu/drm/panfrost/panfrost_device.h |  9 +++++++
 drivers/gpu/drm/panfrost/panfrost_gpu.c    | 28 ++++++++++++++-------
 drivers/gpu/drm/panfrost/panfrost_gpu.h    |  1 +
 drivers/gpu/drm/panfrost/panfrost_job.c    | 20 ++++++++++++---
 drivers/gpu/drm/panfrost/panfrost_job.h    |  1 +
 drivers/gpu/drm/panfrost/panfrost_mmu.c    | 29 ++++++++++++++++------
 drivers/gpu/drm/panfrost/panfrost_mmu.h    |  1 +
 8 files changed, 72 insertions(+), 20 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2023-12-04 11:26 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-01 10:40 [PATCH v3 0/3] drm/panfrost: Fix poweroff and sync IRQs for suspend AngeloGioacchino Del Regno
2023-12-01 10:40 ` AngeloGioacchino Del Regno
2023-12-01 10:40 ` [PATCH v3 1/3] drm/panfrost: Ignore core_mask for poweroff and disable PWRTRANS irq AngeloGioacchino Del Regno
2023-12-01 10:40   ` AngeloGioacchino Del Regno
2023-12-01 10:59   ` Boris Brezillon
2023-12-01 10:59     ` Boris Brezillon
2023-12-01 12:34   ` Steven Price
2023-12-01 12:34     ` Steven Price
2023-12-01 10:40 ` [PATCH v3 2/3] drm/panfrost: Add gpu_irq, mmu_irq to struct panfrost_device AngeloGioacchino Del Regno
2023-12-01 10:40   ` AngeloGioacchino Del Regno
2023-12-01 11:02   ` Boris Brezillon
2023-12-01 11:02     ` Boris Brezillon
2023-12-01 12:34   ` Steven Price
2023-12-01 12:34     ` Steven Price
2023-12-01 10:40 ` [PATCH v3 3/3] drm/panfrost: Synchronize and disable interrupts before powering off AngeloGioacchino Del Regno
2023-12-01 10:40   ` AngeloGioacchino Del Regno
2023-12-01 11:14   ` Boris Brezillon
2023-12-01 11:14     ` Boris Brezillon
2023-12-01 12:34     ` Steven Price
2023-12-01 12:34       ` Steven Price
2023-12-04 11:25       ` AngeloGioacchino Del Regno
2023-12-04 11:25         ` AngeloGioacchino Del Regno
2023-12-04 11:20     ` AngeloGioacchino Del Regno
2023-12-04 11:20       ` AngeloGioacchino Del Regno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.