CVSROOT: /cvs Module name: src Changes by: fcam...@cvs.openbsd.org 2020/05/28 14:26:25
Modified files: sys/arch/amd64/amd64: efifb.c Log message: When calling rasops_init() in efifb_cnremap() and efifb_attach(), pass EFIFB_HEIGHT and EFIFB_WIDTH instead of efifb_std_descr.n{rows,cols}. Because the efifb resolution doesn't change, this ensures 'ri_emuwidth' and 'ri_emuheight' will always get the same value when we remap and later when we attach, so the text area is always displayed at the same position. This fixes display glitches happening on smaller screens or with larger fonts, which caused the content previously displayed in the area that was becoming margins when remapping to remain there. OK jsg@