[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250402084351.1545536-1-ryasuoka@redhat.com>
Date: Wed, 2 Apr 2025 17:43:48 +0900
From: Ryosuke Yasuoka <ryasuoka@...hat.com>
To: maarten.lankhorst@...ux.intel.com,
mripard@...nel.org,
tzimmermann@...e.de,
airlied@...il.com,
simona@...ll.ch,
drawat.floss@...il.com,
jfalempe@...hat.com
Cc: Ryosuke Yasuoka <ryasuoka@...hat.com>,
dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org,
linux-hyperv@...r.kernel.org
Subject: [PATCH RFC drm-next 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.
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
Powered by blists - more mailing lists