1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-15 17:54:36 +00:00

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
This commit is contained in:
jsg
2026-04-01 01:29:25 +00:00
parent c9b2dc6761
commit c0f9fe8338

View File

@@ -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