freebsd-skq/sys
Marcel Moolenaar 296a51148d Improve support for Macs that have a stride not equal to the
horizonal resolution (width). In those cases fb_bpp ended up
completely wrong -- as in 6 bytes per pixel or something like
that. Since we already have a way to calculate fb_depth given
the masks and fb_bpp is effectively the same as fb_depth, all
we need to do is make sure fb_bpp is rounded to the next
multiple of the number of bits in a byte -- we assume we can
divide by the number of bits in a byte throughout vt(4).
While here:
-   simplify how we calculate fb_depth.
-   use fb_bpp instead of fb_depth to calculate fb_stride;
    we know we can divide fb_bpp.
-   don't limit fb_width and fb_height by VT_FB_DEFAULT_WIDTH
    and VT_FB_DEFAULT_HEIGHT (resp.). Those constants have
    not relation to the size of the frame buffer.

This at least fixes "lower-resolution" Macs. We're talking
1280x1024 or so. There still is a problem with 27" Macs,
which typically have a horizontal resolution over 2K.

PR:		193745 (partial)
Ok'd by:	emaste@
2015-08-15 16:13:28 +00:00
..
amd64 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
arm Use simple fixed name strings for these timecounters and eventimers which 2015-08-14 16:48:07 +00:00
arm64 Add support for bus_space_read_region and bus_space_write_region. This is 2015-08-14 09:55:25 +00:00
boot Improve the realtime properties of USB transfers for embedded systems 2015-08-14 12:57:53 +00:00
bsm
cam Move "ioctl" CAM frontend into separate file. 2015-08-15 15:42:21 +00:00
cddl Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
compat Add the last remaining system calls: send() and recv(). 2015-08-12 17:42:20 +00:00
conf Move "ioctl" CAM frontend into separate file. 2015-08-15 15:42:21 +00:00
contrib Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Improve support for Macs that have a stride not equal to the 2015-08-15 16:13:28 +00:00
fs For the case where an NFSv4.1 ExchangeID operation has the client identifier 2015-08-14 22:02:14 +00:00
gdb CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten 2015-05-22 17:05:21 +00:00
geom Clean out some externally visible "more then" grammar 2015-08-11 03:12:09 +00:00
gnu The GNU Amlogic DTS files have some errors (e.g. bad register 2015-04-11 08:17:39 +00:00
i386 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
isa
kern genassym.sh: call nm(1) with NMFLAGS. 2015-08-14 22:57:13 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules Move "ioctl" CAM frontend into separate file. 2015-08-15 15:42:21 +00:00
net Make LAG LACP fast timeout tunable through IOCTL. 2015-08-12 20:21:04 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Allow the path MTU to grow up to the outgoing interface MTU. 2015-08-14 14:26:13 +00:00
netinet6 Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Use correct src/dst ports when removing states. 2015-08-11 17:24:34 +00:00
netsmb
nfs
nfsclient Remove some oldnfs remnants. 2015-04-18 16:08:06 +00:00
nfsserver
nlm
ofed Reinstate unify_tcp_port_space and associated code that was lost during 2015-08-12 22:09:58 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
rpc Remove useless acquire semantic from the atomic_add operation before 2015-07-28 06:58:10 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
teken Stop parsing digits if the value already exceeds USHRT_MAX. 2015-08-15 08:42:33 +00:00
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
x86 Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped. 2015-08-14 20:08:16 +00:00
xdr
xen Remove another remnant of PV domU support and assume that we always run 2015-08-14 18:38:39 +00:00
Makefile Kill EoL whitespace. 2015-05-29 14:03:07 +00:00