Linux-HyperV List
 help / color / mirror / Atom feed
* [PATCH RFC drm-next 0/1] Add support for drm_panic
@ 2025-04-02  8:43 Ryosuke Yasuoka
  2025-04-02  8:43 ` [PATCH RFC drm-next 1/1] drm/hyperv: " Ryosuke Yasuoka
  2025-04-02  9:45 ` [PATCH RFC drm-next 0/1] " Thomas Zimmermann
  0 siblings, 2 replies; 5+ messages in thread
From: Ryosuke Yasuoka @ 2025-04-02  8:43 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, tzimmermann, airlied, simona,
	drawat.floss, jfalempe
  Cc: Ryosuke Yasuoka, dri-devel, linux-kernel, linux-hyperv

This patch adds drm_panic support for hyperv-drm driver. This function
works but it's still needed to brush up. Let me hear your opinions.

Once kernel panic occurs we expect to see a panic screen. However, to
see the screen, I need to close/re-open the graphic console client
window. As the panic screen shows correctly in the small preview
window in Hyper-V manager and debugfs API for drm_panic works correctly,
I think kernel needs to send signal to Hyper-V host that the console
client refreshes, but I have no idea what kind of signal is needed.

This patch is tested on Hyper-V 2022.

Ryosuke Yasuoka (1):
  drm/hyperv: Add support for drm_panic

 drivers/gpu/drm/drm_simple_kms_helper.c     | 26 +++++++++++++
 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 42 +++++++++++++++++++++
 include/drm/drm_simple_kms_helper.h         | 22 +++++++++++
 3 files changed, 90 insertions(+)


base-commit: cf05922d63e2ae6a9b1b52ff5236a44c3b29f78c
-- 
2.48.1


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

end of thread, other threads:[~2025-04-03  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-02  8:43 [PATCH RFC drm-next 0/1] Add support for drm_panic Ryosuke Yasuoka
2025-04-02  8:43 ` [PATCH RFC drm-next 1/1] drm/hyperv: " Ryosuke Yasuoka
2025-04-02  9:45 ` [PATCH RFC drm-next 0/1] " Thomas Zimmermann
2025-04-02 13:52   ` Ryosuke Yasuoka
2025-04-03  7:23     ` Thomas Zimmermann

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