mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH drm-misc-next v2 0/1] add drm_panic_support for vmwgfx-stdu
@ 2025-09-08 14:11 Ryosuke Yasuoka
  2025-09-08 14:11 ` [PATCH drm-misc-next v2 1/1] drm/vmwgfx: add drm_panic support for stdu Ryosuke Yasuoka
  2025-09-09  0:32 ` [PATCH drm-misc-next v2 0/1] add drm_panic_support for vmwgfx-stdu Ryosuke Yasuoka
  0 siblings, 2 replies; 5+ messages in thread
From: Ryosuke Yasuoka @ 2025-09-08 14:11 UTC (permalink / raw)
  To: zack.rusin, maarten.lankhorst, mripard, tzimmermann, airlied,
	simona, ian.forbes, jfalempe
  Cc: Ryosuke Yasuoka, bcm-kernel-feedback-list, linux-kernel, dri-devel

Add drm_panic support for stdu in vmwgfx. This patch was tested in 
a VM with VMSVGA on Virtual Box.

I got 2 type of suggestions from reviewers:
1. Write the panic screen to guest_memory_bo and send dirty/flush
command
2. Write it to VRAM directly and then switch back to legacy mode

Since option 2 is simpler than another one and ldu might be able
to re-use some codes if ldu supports drm_panic, I re-write this
v2 patch with option 2.

Ryosuke Yasuoka (1):
  drm/vmwgfx: add drm_panic support for stdu

 drivers/gpu/drm/vmwgfx/vmwgfx_cmd.c  | 73 ++++++++++++++++++++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h  | 18 +++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c  |  9 ++++
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h  |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c  | 43 ++++++++++++++++
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c | 34 +++++++++++++
 6 files changed, 178 insertions(+)


base-commit: 306c8959b5fdfdc3900aebe4e56257a349f5765f
-- 
2.51.0


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

end of thread, other threads:[~2025-09-10 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-08 14:11 [PATCH drm-misc-next v2 0/1] add drm_panic_support for vmwgfx-stdu Ryosuke Yasuoka
2025-09-08 14:11 ` [PATCH drm-misc-next v2 1/1] drm/vmwgfx: add drm_panic support for stdu Ryosuke Yasuoka
2025-09-09 20:48   ` Ian Forbes
2025-09-10 11:17     ` Ryosuke Yasuoka
2025-09-09  0:32 ` [PATCH drm-misc-next v2 0/1] add drm_panic_support for vmwgfx-stdu Ryosuke Yasuoka

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®