Skip to content

RFC Add support for drm_panic

Ryosuke Yasuoka dri-devel linux-hyperv lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest1 patch 2 repliesIn review
  2. v1 RFC1 patch 3 repliesSuperseded

Changes in v2 from the cover letter

- Re-write codes with regular atomic helper. The driver was implemented with simple KMS. So replace it with regular atomic helper in [1], implement this feature on it.

[1] https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1drm/hyperv: Add support for drm_panicdrivers/gpu/drm/hyperv/hyperv_drm_modeset.c+36 -02 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchJocelyn Falempe
1/1R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH RFC drm-misc-next v2 0/1] Add support for drm_panic

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.

v2:
- Re-write codes with regular atomic helper. The driver was implemented with simple KMS. So replace it with regular atomic helper in [1], implement this feature on it.

[1] https://lore.kernel.org/all/[email protected]/

v1:
https://lore.kernel.org/lkml/[email protected]/

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

 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c | 36 +++++++++++++++++++++
 1 file changed, 36 insertions(+)

base-commit: c06cb85ad1412c6ff34792b028b2f89495761398

Signature · 1 line
2.49.0