All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/vc4: VC4 HDMI Runtime PM fixes for Packet RAM
@ 2026-10-02 13:36 Maíra Canal
  2026-10-02 13:36 ` [PATCH 1/2] drm/vc4: hdmi: Move packet RAM enable to PM runtime Maíra Canal
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Maíra Canal @ 2026-10-02 13:36 UTC (permalink / raw)
  To: Maxime Ripard, Dave Stevenson, Raspberry Pi Kernel Maintenance,
	David Airlie, Simona Vetter
  Cc: kernel-dev, dri-devel, Maíra Canal

While testing Raspberry Pi 4 HDMI hotplug with drm-misc-fixes, I hit the
following warning:

[  201.570266] ------------[ cut here ]------------
[  201.570293] Packet RAM has to be on to store the packet.
[  201.570367] WARNING: drivers/gpu/drm/vc4/vc4_hdmi.c:683 at vc4_hdmi_write_infoframe+0x404/0x494 [vc4], CPU#0: wireplumber/1606
[...]
[  201.658650] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)
[...]
[  201.758499] Call trace:
[  201.760967]  vc4_hdmi_write_infoframe+0x404/0x494 [vc4] (P)
[  201.766607]  vc4_hdmi_write_audio_infoframe+0x1c/0x28 [vc4]
[  201.772247]  write_infoframe+0xbc/0x140 [drm_display_helper]
[  201.777975]  drm_atomic_helper_connector_hdmi_update_audio_infoframe+0x80/0xdc [drm_display_helper]
[  201.787140]  vc4_hdmi_audio_prepare+0x4ac/0x570 [vc4]
[  201.792252]  drm_connector_hdmi_audio_prepare+0x24/0x30 [drm_display_helper]
[  201.799390]  hdmi_codec_prepare+0x100/0x160 [snd_soc_hdmi_codec]
[  201.805471]  snd_soc_pcm_dai_prepare+0xd4/0x100 [snd_soc_core]
[  201.811375]  __soc_pcm_prepare+0x60/0x12c [snd_soc_core]
[  201.816752]  soc_pcm_prepare+0x34/0x58 [snd_soc_core]
[  201.821863]  snd_pcm_do_prepare+0x70/0x8c [snd_pcm]
[  201.826798]  snd_pcm_action_nonatomic+0xe4/0x174 [snd_pcm]
[  201.832350]  snd_pcm_prepare+0xc8/0xd8 [snd_pcm]
[  201.837021]  snd_pcm_common_ioctl+0x458/0x614 [snd_pcm]
[  201.842308]  snd_pcm_ioctl+0x30/0x48 [snd_pcm]
[  201.846802]  __arm64_sys_ioctl+0x88/0xd8
[  201.850769]  invoke_syscall+0x48/0xf4
[  201.854470]  el0_svc_common+0x80/0xd8
[  201.858171]  do_el0_svc+0x1c/0x28
[  201.861520]  el0_svc+0x3c/0xb0
[  201.864605]  el0t_64_sync_handler+0x68/0xdc
[  201.868834]  el0t_64_sync+0x198/0x19c
[  201.872536] ---[ end trace 0000000000000000 ]---

Dave had already fixed this in the Raspberry Pi downstream tree [1].
This series upstreams his commits with no code changes and reworded
commit messages.

Maxime, could you ack/review these patches, please?

[1] https://github.com/raspberrypi/linux/pull/7431

Best regards,
- Maíra

---
Dave Stevenson (2):
      drm/vc4: hdmi: Move packet RAM enable to PM runtime
      drm/vc4: hdmi: Remove unused packet_ram_enabled flag

 drivers/gpu/drm/vc4/vc4_hdmi.c | 23 +++++++++++------------
 drivers/gpu/drm/vc4/vc4_hdmi.h |  6 ------
 2 files changed, 11 insertions(+), 18 deletions(-)
---
base-commit: bca45af5998a05f34b13a2ef11e639bac9c62643
change-id: 20261001-vc4-hdmi-packet-ram-fix-e4374c31f2f7


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

end of thread, other threads:[~2026-10-12 11:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-02 13:36 [PATCH 0/2] drm/vc4: VC4 HDMI Runtime PM fixes for Packet RAM Maíra Canal
2026-10-02 13:36 ` [PATCH 1/2] drm/vc4: hdmi: Move packet RAM enable to PM runtime Maíra Canal
2026-10-12  7:33   ` Maxime Ripard
2026-10-02 13:36 ` [PATCH 2/2] drm/vc4: hdmi: Remove unused packet_ram_enabled flag Maíra Canal
2026-10-12 11:33 ` [PATCH 0/2] drm/vc4: VC4 HDMI Runtime PM fixes for Packet RAM Maíra Canal

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.