CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2022/07/15 11:57:27
Modified files:
sys/arch/amd64/amd64: efifb.c
sys/arch/armv7/omap: amdisplay.c omdisplay.c
sys/arch/loongson/dev: radeonfb.c sisfb.c smfb.c
sys/arch/luna88k/dev: lunafb.c
sys/arch/macppc/pci: vgafb.c
sys/arch/powerpc64/dev: astfb.c
sys/arch/sparc64/dev: creator.c gfb.c gfxp.c ifb.c machfb.c
radeonfb.c raptor.c vgafb.c
sys/dev/fdt : rkdrm.c simplefb.c ssdfb.c
sys/dev/ic : sti.c
sys/dev/pci : tga.c
sys/dev/pci/drm/amd/amdgpu: amdgpu_kms.c
sys/dev/pci/drm/i915: i915_drv.c
sys/dev/pci/drm/radeon: radeon_kms.c
sys/dev/pcmcia : cfxga.c
sys/dev/sbus : agten.c bwtwo.c cgsix.c cgthree.c cgtwelve.c
mgx.c rfx.c tvtwo.c vigra.c zx.c
sys/dev/usb : udl.c
sys/dev/wscons : wsconsio.h wsdisplay.c
Log message:
Implement support for framebuffers that don't start on a page boundary.
This happens on the new 14" and 16" Macbook Pro where we deliberately use
a framebuffer that skips the first few lines to avoid "the notch".
The offset of the first pixel is added to struct wsdisplay_fbinfo. The
stride is added as well, mirroring the value returned by the
WSDISPLAYIO_LINEBYTES ioctl, such that we can retire that one in the
future. A compat ioctl is implemented to help the transition. The compat
code will be removed after OpenBSD 7.3 has been released.
ok miod@