mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fixup drm_atomic_helper_connector_hdmi_check()
@ 2025-01-08 22:03 Cristian Ciocaltea
  2025-01-08 22:03 ` [PATCH v2 1/2] drm/connector: hdmi: Handle NULL display mode in state check helper Cristian Ciocaltea
  2025-01-08 22:03 ` [PATCH v2 2/2] drm/tests: hdmi: Add connector's CRTC deactivation tests Cristian Ciocaltea
  0 siblings, 2 replies; 5+ messages in thread
From: Cristian Ciocaltea @ 2025-01-08 22:03 UTC (permalink / raw)
  To: Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann,
	David Airlie, Simona Vetter, Dave Stevenson, Dmitry Baryshkov
  Cc: kernel, dri-devel, linux-kernel, AngeloGioacchino Del Regno

Fix a NULL pointer dereference discovered while unloading a DRM module
and provide a couple of tests to make sure the helper works as expected
in case the connector's CRTC is shut down.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
---
Changes in v2:
- Collected R-b tags from Dmitry and Angelo
- Add a 2nd patch providing a couple of KUnit tests (Maxime)
- Link to v1: https://lore.kernel.org/r/20250107-hdmi-conn-null-mode-v1-1-fff4be46d106@collabora.com

---
Cristian Ciocaltea (2):
      drm/connector: hdmi: Handle NULL display mode in state check helper
      drm/tests: hdmi: Add connector's CRTC deactivation tests

 drivers/gpu/drm/display/drm_hdmi_state_helper.c    |   3 +
 drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c | 173 +++++++++++++++++++++
 2 files changed, 176 insertions(+)
---
base-commit: 938fbb16aba8f7b88e0fdcf56f315a5bbad41aad
change-id: 20250107-hdmi-conn-null-mode-be0c5e49ed8c


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

end of thread, other threads:[~2025-01-14 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-08 22:03 [PATCH v2 0/2] Fixup drm_atomic_helper_connector_hdmi_check() Cristian Ciocaltea
2025-01-08 22:03 ` [PATCH v2 1/2] drm/connector: hdmi: Handle NULL display mode in state check helper Cristian Ciocaltea
2025-01-08 22:03 ` [PATCH v2 2/2] drm/tests: hdmi: Add connector's CRTC deactivation tests Cristian Ciocaltea
2025-01-14 17:41   ` Maxime Ripard
2025-01-14 17:58     ` Cristian Ciocaltea

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®