HomeFreeBSD

vt(4): Call post-switch callback after replacing the backend

Description

vt(4): Call post-switch callback after replacing the backend

[Why]
For instance, it gives a chance to the new backend to refresh the
screen. This is needed by the vt_drmfb backend and drm_fb_helper.

This change was lost when I posted changes to reviews.freebsd.org and it
broken the amdgpu driver... Thanks to manu@ for reporting the problem
and wulf@ to find out the missing change!

Tested by: manu
Reviewed by: manu
Approved by: manu
Differential Revision: https://reviews.freebsd.org/D42834

Details

Provenance
dumbbellAuthored on Nov 29 2023, 6:34 PM
Reviewer
manu
Differential Revision
D42834: vt(4): Call post-switch callback after replacing the backend
Parents
rGf54a3890b1f4: x86: Support multiple PCI MCFG regions
Branches
Unknown
Tags
Unknown