From c0f9fe83389bd8386a875c5a65ea92be92ca6584 Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 1 Apr 2026 01:29:25 +0000 Subject: [PATCH] make ddb output visible when entering ddb from X on amdgpu add a call to drm_fb_helper_restore_fbdev_mode_unlocked() to amdgpu_enter_ddb() otherwise ddb output can't be seen not required on inteldrm or radeondrm --- sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c index f76b8103db3..8004dea0bf7 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c @@ -3745,6 +3745,7 @@ amdgpu_enter_ddb(void *v, void *cookie) rasops_show_screen(ri, cookie, 0, NULL, NULL); drm_fb_helper_debug_enter(fb_helper->info); + drm_fb_helper_restore_fbdev_mode_unlocked(fb_helper); } void