Home | History | Annotate | Download | only in wscons
History log of /src/sys/dev/wscons/wsdisplayvar.h
RevisionDateAuthorComments
 1.57  01-Mar-2023  riastradh nouveau: Kick out genfb on firmware framebuffer before initializing.

PR kern/53126
 1.56  29-Jan-2022  uwe branches: 1.56.4;
Default WSDISPLAY_BORDER_COLOR to WS_DEFAULT_BG.
Avoids black overscan area when WS_DEFAULT_BG is set.
 1.55  30-Jan-2019  jmcneill Suspend multicons output to the old console device while replaying
the vcons msgbuf.
 1.54  04-Dec-2018  mlelstv rasops reused wscons attribute bits for internal control.
- make upper 4 attribute bits available for such use
- use wscons flag names instead of literal constants.
 1.53  26-Sep-2018  bouyer Introduce wsdisplay_isconsole(struct wsdisplay_softc *), which
returns sc->sc_isconsole
 1.52  19-May-2017  macallan branches: 1.52.8; 1.52.10;
add support for loading fonts in vcons and subsequently resizing screens
- drivers can use this by setting VCONS_LOADFONT and WSSCREEN_RESIZE
- each vcons screen can now have its own font and geometry
- while there, add support for xterm's ESC[18t to report the text buffer's
size

With this tou can:
wsfontload -N foo /usr/share/wscons/fonts/flori.816
wsconsctl -dw font=foo
currently this is limited to drivers that don't use the glyph cache, like genfb
 1.51  21-Jan-2014  mlelstv branches: 1.51.6;
add function to detach wscons from a console. This allows to
switch the console to a different driver.
 1.50  31-Jan-2013  macallan branches: 1.50.2;
add ioctl(WSDISPLAYIO_GET_FBINFO)
 1.49  29-Jun-2011  macallan branches: 1.49.2; 1.49.8; 1.49.12;
declare wsdisplayio_get_edid()
 1.48  02-Feb-2010  drochner give up some silly macros which were only used ~once, and reduce
dependency on "locators.h"
makes the code more LKM frienly
 1.47  25-Mar-2008  cube branches: 1.47.4;
Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).
 1.46  20-Feb-2008  drochner branches: 1.46.6;
-Don't detach/attach the X server in the pmf suspend/resume functions
which are called somewhere in the middle of system suspend. Since the
X server accesses hardware directly it is outside our control whether
the devices it accesses are already/still suspended or not, so the only
way is to detach it before any device suspends and re-attach after
everything is awake again.
-For that, export a function ("wsdisplay_handlex" for now) which is
to be called from central suspend/resume code.
-The right way to handle the (normally impossible) case that the X
server is not detached on suspend is to return an error which should
abort the suspend process. pmf doesn't yet handle errors of device
suspend handlers, so as a temporary measure try to suspend anyway,
to get at least a text console.
-Improve error handling of X server attach/detach and maintain a flag
which tracks whether the X server is really active.
 1.45  13-Dec-2007  joerg Switch to console on suspend and shutdown, switch back to where the
system was before on resume. This is the second attempt and got more
complicated due to the async nature of VT_ACTIVE. After the initial
switch, check that we ended up on the first screen and if not, wait for
the switch to happen.
 1.44  19-Oct-2007  dogcow branches: 1.44.4; 1.44.8;
If you're going to use device_t, may as well include sys/device.h; unb0rks
the build for sparc{,64}.
 1.43  18-Oct-2007  joerg Use aprint API for output and convert to device_t/softc separation.
 1.42  04-Mar-2007  christos branches: 1.42.2; 1.42.14; 1.42.16; 1.42.20;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.41  06-Nov-2006  macallan branches: 1.41.4;
add wsdisplay_preattach() to attach an early console that can be overridden
by wsdisplay_cnattach() for instance when a hardware-specific display driver
attaches.
as discussed on tech-kern
 1.40  09-Oct-2006  peter KNF: No variable names in the prototype.
 1.39  15-Apr-2006  jmmv branches: 1.39.8; 1.39.10;
Remove the getwschar and putwschar accessops from wsdisplay drivers as
requested by uwe@. These were wrong because they were receiving an
emulcookie yet they were accessops (thus having to receive an accesscookie).
Instead, just handle the WSDISPLAYIO_{GET,PUT}WSCHAR ioctls from the
driver's ioctl accessop.

As this reduces the amount of code needed to handle these operations to
two small functions in each driver, remove the WSDISPLAY_CHARFUNCS kernel
option.

Reviewed by, at least, uwe@ and macallan@. No objections in tech-kern@.
 1.38  12-Apr-2006  jmmv Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called. The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place. There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
 1.37  07-Apr-2006  drochner don't include opt_wsdisplay_border.h here, to limit dependencies
 1.36  05-Apr-2006  drochner Use the existing ioctl path to call WSDISPLAYIO_GBORDER/WSDISPLAYIO_SBORDER
instead of a separate accessops entry. There is no need to introduce bloat
for the majority of drivers which don't implement this feature.
This should also resolve PR kern/33186 by Valeriy E. Ushakov.
 1.35  19-Feb-2006  jmcneill branches: 1.35.2; 1.35.4; 1.35.6;
Multiple inclusion protection.
 1.34  11-Dec-2005  christos branches: 1.34.2; 1.34.4; 1.34.6;
merge ktrace-lwp.
 1.33  29-May-2005  christos branches: 1.33.2;
- sprinkle const.
- avoid variable shadowing.
 1.32  23-May-2005  martin Rename REALWHITE to SNOWWHITE.
While there, add LIGHT versions of the other predefined colours as well.
 1.31  22-May-2005  martin Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
defined as grey (which can't be fixed w/o breaking user config files).
Fixes PR kern/30064.
 1.30  04-Feb-2005  perry branches: 1.30.4;
de-__P
 1.29  29-Jul-2004  jmmv branches: 1.29.4; 1.29.6;
Implement border color customization in wscons(4), only available for vga(4)
at the moment.

This includes the addition of two new wsdisplay ioctls, WSDISPLAY_{G,S}BORDER,
one to get the actual color and one to set it, respectively. Possible colors
match those defined by ANSI (and listed in wsdisplayvar.h).

It also adds two accessops to the underlying graphics device, getborder and
setborder, which mach their ioctl counterparts.

Two kernel options are added: WSDISPLAY_CUSTOM_BORDER, which enables the
ioctls described above (to customize the border color from userland after
boot), and WSDISPLAY_BORDER_COLOR, which sets the color at boot time.
The former is enabled by default on the GENERIC kernel, but not on INSTALL
(among others). The later is always commented out, leaving the usual black
border as a default.

wsconsctl is modified to allow accessing this value easily. For example,
'wsconsctl -d -w border=blue'.
 1.28  28-Jul-2004  jmmv Implement support to dynamically change wscons console and kernel colors.

Two new ioctls are added to the wsdisplay device, named WSDISPLAY_GMSGATTRS
and WSDISPLAY_SMSGATTRS, used to retrieve the actual values and set them,
respectively (the name, if you are wondering, comes from "message attributes").

A new emulop is added to the underlying display driver (only vga, for now)
which sets the new attribute for the whole screen, without having to clear
it. This is optional, which means that this also works with other drivers
that don't have this new operation.

Five new kernel options have been added, although only documented in
i386 kernels (for now):
- WSDISPLAY_CUSTOM_OUTPUT, which enables the ioctls described above to
change the colors dynamically from userland. This is enabled by default
in the GENERIC kernel (as well as others) but disabled on all INSTALL*
kernels (as this feature is useless there).
- WS_DEFAULT_COLATTR, WS_DEFAULT_MONOATTR, WS_DEFAULT_BG and WS_DEFAULT_FG,
which specify the default colors for the console at boot time. These have
the same meaning as the (already existing) WS_KERNEL_* variables.

wsconsctl is modified to add msg.default.{attrs,bg,fg} and
msg.kernel.{attrs,bg,fg} to the display part, so that colors can be changed
after boot.

Tested on NetBSD/i386 with vga (and vga in mono mode), and on NetBSD/mac68k.
No objections in tech-kern@.
 1.27  28-May-2004  christos move scroll function definition last.
 1.26  28-May-2004  christos PR/19925: David Ferlier: Add scrolling support to wscons.
 1.25  29-Jun-2003  fvdl branches: 1.25.2; 1.25.4;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.24  28-Jun-2003  darrenr Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records. The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V
 1.23  15-Oct-2002  junyoung Add modecookie to struct wsscreen_descr, which is used to point to video
mode specific information.
 1.22  04-Jul-2002  junyoung alloc_attr -> allocattr

Approved by Matthias Drochner.
 1.21  26-Jun-2002  christos PR/17402: Add wsmoused support by providing get/set char and events.
 1.20  13-Oct-2001  augustss branches: 1.20.10;
ANSIfy.
 1.19  13-Oct-2001  augustss Two changes to the wsmux code:
* Allow the wsmux used by wsdisplay for the keyboard(s) to be explicitely
specified with the kbdmux locator.
* Allow keyboards and mice that have a mux to be opened in the regular way.
These changes should be totally backwards compatible.
 1.18  30-Dec-2000  sato branches: 1.18.2; 1.18.4;
notify console polling mode or not to lower level framebuffer driver.
notify EMUL mode or not to lower level framebuffer driver.
these may use framebuffer level hardware acceleration/software optimization.
 1.17  10-Sep-2000  lukem * rename vga_stdscreen* -> vga_25lscreen*
* in vga_init(), set the screen type to WSCONS_DEFAULT_TYPE, which defaults
to "80x25".
XXX: the code currently makes no attempt to ensure that a font
with the appropriate width & height is available, effectively
limiting this default to either "80x25" or "80x24" at this
time.
* make wsdisplay_screentype_pick() non static, so that vga_init() can use it
 1.16  10-Sep-2000  takemura Introduce WSDISPLAY_NULLSCREEN to allow low level device to detach control
process. Hpcmips frame buffer driver(hpcfb) call wsdisplay_switch with
WSDISPLAY_NULLSCREEN to notify user process of suspend/resume event.
 1.15  26-Jun-2000  simonb Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
 1.14  06-Dec-1999  drochner branches: 1.14.4;
-allow the "show_screen" call to the display driver to complete
asynchronously, in the same style like the process attach/detach functions
-intercept the "cnpollc" call which originally went directly to the
keyboard driver and keep track whether the console is in "polling" state
(DDB!)
-pass a NULL callback to the screen switcher and the process attach/detach
functions if the console is "polling", to tell them that asynchronous
completion is forbidden
 1.13  19-Oct-1999  mycroft branches: 1.13.2;
Split wsdisplay_usl_ioctl() into two functions -- one which is screen-dependent
and one which isn't. The latter is now used for ttyEcfg, enabling the
VT-switching ioctls to work on it. (This allows Linux X servers to work when
/emul/linux/dev/tty0 is linked to /dev/ttyEcfg.)
 1.12  12-Oct-1999  jdolecek branches: 1.12.2;
add wsdisplay_switchtoconsole() to allow other parts of kernel to force
the wscons to switch to console; code taken from wsdisplay_shutdownhook(),
which is now just a wrapper around wsdisplay_switchtoconsole()
 1.11  12-Feb-1999  drochner branches: 1.11.2; 1.11.8;
change the "mapchar" interface to return a "quality" or "match level"
arguments which allows to find approximations for characters which are
not present in a font
 1.10  26-Jan-1999  drochner improve error handling in 2 cases:
1. If the current screen becomes invalid (ie no focus anymore), always
set the keyboard to translating mode. Otherwise, we could get stuck
because the command keystokes don't come through.
2. Catch errors in attaching to a process (X server) - For this,
implement a callback mechanism similar to the detach case. Add an
argument to report an errno via callback.
 1.9  13-Jan-1999  drochner change the way fonts are handled: now we have a display-global ioctl
to download fonts and a per-screen call to select a font
allows easier sharing of ressources in the display driver
change the parameters to the load_font driver vector to pass all
available font information
 1.8  09-Jan-1999  drochner add ioctl()s for screen allocation/deallocation
 1.7  13-Aug-1998  eeh Merge paddr_t changes into the main branch.
 1.6  28-Jul-1998  augustss branches: 1.6.2;
Do locator related defines using defines from locators.h rather
than literal constants.
 1.5  26-Jun-1998  drochner define a "mapping" function which can be used by the emulation module
to display non-ASCII characters
 1.4  20-Jun-1998  drochner Change the calling interface for text output (to the graphics driver)
to take a single character at a time, where the character is an "int" now.
The old interface (took a string) was never called with more than 1
char to print, and the "int" allows us to handle charsets cleanly.
 1.3  11-Jun-1998  drochner Implement the VT access and keyboard control ioctl()s needed for
compatibility to PCVT, syscons and the Linux console.
 1.2  14-May-1998  drochner Simple screen attribute handling for wscons.
The graphics device driver passes a "default attribute" for normal text
output to the wscons framework. If the emulation module needs more
attributes (for different "renditions") it can allocate them via a
callback.
For now, only the "sun" emulation makes use of it.
 1.1  22-Mar-1998  drochner Initial import of cgd's new wscons code.
 1.6.2.2  08-Aug-1998  eeh Revert cdevsw mmap routines to return int.
 1.6.2.1  07-Aug-1998  drochner make it compile in paddr_t world
 1.11.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.2.1  19-Oct-1999  he Pull up revision 1.13 (requested by mycroft):
Enable VT-switching ioctls on ttyEcfg, which allows Linux X servers
to work when properly configured (with symlink /emul/linux/dev/tty0
-> /dev/ttyEcfg).
 1.12.2.3  05-Jan-2001  bouyer Sync with HEAD
 1.12.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.12.2.1  20-Oct-1999  thorpej Sync w/ trunk.
 1.13.2.2  19-Oct-1999  mycroft Split wsdisplay_usl_ioctl() into two functions -- one which is screen-dependent
and one which isn't. The latter is now used for ttyEcfg, enabling the
VT-switching ioctls to work on it. (This allows Linux X servers to work when
/emul/linux/dev/tty0 is linked to /dev/ttyEcfg.)
 1.13.2.1  19-Oct-1999  mycroft file wsdisplayvar.h was added on branch fvdl-softdep on 1999-10-19 00:03:19 +0000
 1.14.4.1  30-Jun-2000  simonb Pull up mmap paddr_t/off_t changes from trunk.
 1.18.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.18.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.18.2.3  18-Oct-2002  nathanw Catch up to -current.
 1.18.2.2  01-Aug-2002  nathanw Catch up to -current.
 1.18.2.1  22-Oct-2001  nathanw Catch up to -current.
 1.20.10.1  15-Jul-2002  gehenna catch up with -current.
 1.25.4.2  07-Jun-2004  tron Pull up revision 1.27 (requested by recht in ticket #451):
move scroll function definition last.
 1.25.4.1  07-Jun-2004  tron Pull up revision 1.26 (requested by recht in ticket #451):
PR/19925: David Ferlier: Add scrolling support to wscons.
 1.25.2.7  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.25.2.6  04-Feb-2005  skrll Sync with HEAD.
 1.25.2.5  21-Sep-2004  skrll Fix the sync with head I botched.
 1.25.2.4  18-Sep-2004  skrll Sync with HEAD.
 1.25.2.3  12-Aug-2004  skrll Sync with HEAD.
 1.25.2.2  03-Aug-2004  skrll Sync with HEAD
 1.25.2.1  02-Jul-2003  darrenr Apply the aborted ktrace-lwp changes to a specific branch. This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it. This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.
 1.29.6.1  12-Feb-2005  yamt sync with head.
 1.29.4.1  29-Apr-2005  kent sync with -current
 1.30.4.2  07-Jun-2005  tron Pull up revision 1.32 (requested by martin in ticket #373):
Rename REALWHITE to SNOWWHITE.
While there, add LIGHT versions of the other predefined colours as well.
 1.30.4.1  04-Jun-2005  tron Pull up revision 1.31 (requested by martin in ticket #371):
Define a real white color - since WSCOL_WHITE is ANSI-emulation specific
defined as grey (which can't be fixed w/o breaking user config files).
Fixes PR kern/30064.
 1.33.2.6  27-Feb-2008  yamt sync with head.
 1.33.2.5  21-Jan-2008  yamt sync with head
 1.33.2.4  27-Oct-2007  yamt sync with head.
 1.33.2.3  03-Sep-2007  yamt sync with head.
 1.33.2.2  30-Dec-2006  yamt sync with head.
 1.33.2.1  21-Jun-2006  yamt sync with head.
 1.34.6.1  22-Apr-2006  simonb Sync with head.
 1.34.4.1  09-Sep-2006  rpaulo sync with head
 1.34.2.1  01-Mar-2006  yamt sync with head.
 1.35.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.35.4.1  19-Apr-2006  elad sync with head.
 1.35.2.2  24-May-2006  yamt sync with head.
 1.35.2.1  11-Apr-2006  yamt sync with head
 1.39.10.2  10-Dec-2006  yamt sync with head.
 1.39.10.1  22-Oct-2006  yamt sync with head
 1.39.8.1  18-Nov-2006  ad Sync with head.
 1.41.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.42.20.1  25-Oct-2007  bouyer Sync with HEAD.
 1.42.16.3  23-Mar-2008  matt sync with HEAD
 1.42.16.2  09-Jan-2008  matt sync with HEAD
 1.42.16.1  06-Nov-2007  matt sync with HEAD
 1.42.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.42.2.1  23-Oct-2007  ad Sync with head.
 1.44.8.1  13-Dec-2007  bouyer Sync with HEAD
 1.44.4.1  26-Dec-2007  ad Sync with head.
 1.46.6.1  03-Apr-2008  mjf Sync with HEAD.
 1.47.4.1  11-Mar-2010  yamt sync with head
 1.49.12.3  03-Dec-2017  jdolecek update from HEAD
 1.49.12.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.49.12.1  25-Feb-2013  tls resync with head
 1.49.8.1  13-Feb-2013  riz Pull up following revision(s) (requested by skrll in ticket #813):

etc/MAKEDEV.tmpl 1.160
etc/etc.evbarm/MAKEDEV.conf 1.9
external/broadcom/rpi-firmware/dist/LICENCE.broadcom 1.1
external/broadcom/rpi-firmware/dist/bootcode.bin 1.1
external/broadcom/rpi-firmware/dist/bootcode.bin 1.2
external/broadcom/rpi-firmware/dist/fixup.dat 1.1
external/broadcom/rpi-firmware/dist/fixup.dat 1.2
external/broadcom/rpi-firmware/dist/fixup_cd.dat 1.1
external/broadcom/rpi-firmware/dist/fixup_cd.dat 1.2
external/broadcom/rpi-firmware/dist/start.elf 1.1
external/broadcom/rpi-firmware/dist/start.elf 1.2
external/broadcom/rpi-firmware/dist/start_cd.elf 1.1
external/broadcom/rpi-firmware/dist/start_cd.elf 1.2
sys/arch/arm/broadcom/bcm2835_bsc.c 1.1 via patch
sys/arch/arm/broadcom/bcm2835_bscreg.h 1.1 via patch
sys/arch/arm/broadcom/bcm2835_dotg.c 1.1 via patch
sys/arch/arm/broadcom/bcm2835_emmc.c 1.7 via patch
sys/arch/arm/broadcom/bcm2835_genfb.c 1.4 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.c 1.2 via patch
sys/arch/arm/broadcom/bcm2835_gpio_subr.h 1.1 via patch
sys/arch/arm/broadcom/bcm2835_gpioreg.h 1.1 via patch
sys/arch/arm/broadcom/bcm2835_intr.c 1.3 via patch
sys/arch/arm/broadcom/bcm2835_mbox.c 1.5 via patch
sys/arch/arm/broadcom/bcm2835_mbox.h 1.4 via patch
sys/arch/arm/broadcom/bcm2835_obio.c 1.17 via patch
sys/arch/arm/broadcom/bcm2835_pm.c 1.2 via patch
sys/arch/arm/broadcom/bcm2835_rng.c 1.3 via patch
sys/arch/arm/broadcom/bcm2835_space.c 1.5 via patch
sys/arch/arm/broadcom/bcm2835_spi.c 1.1 via patch
sys/arch/arm/broadcom/bcm2835_spireg.h 1.1 via patch
sys/arch/arm/broadcom/bcm2835_tmr.c 1.3 via patch
sys/arch/arm/broadcom/bcm2835reg.h 1.10 via patch
sys/arch/arm/broadcom/files.bcm2835 1.14 via patch
sys/arch/evbarm/conf/RPI 1.23 via patch
sys/arch/evbarm/conf/files.rpi 1.3 via patch
sys/arch/evbarm/conf/mk.rpi 1.2 via patch
sys/arch/evbarm/conf/std.rpi 1.4 via patch
sys/arch/evbarm/rpi/rpi_machdep.c 1.34 via patch
sys/arch/evbarm/rpi/rpi_start.S 1.7 via patch
sys/arch/evbarm/rpi/rpi_vcmbox.c 1.2 via patch
sys/arch/evbarm/rpi/vcio.h 1.1 via patch
sys/arch/evbarm/rpi/vcprop.h 1.7 via patch
sys/conf/files patch
sys/dev/sdmmc/sdhc.c 1.43
sys/dev/sdmmc/sdhcvar.h 1.13
sys/dev/usb/dwc_otg.c 1.45 via patch
sys/dev/usb/dwc_otgreg.h 1.5 via patch
sys/dev/usb/dwc_otgvar.h 1.11 via patch
sys/dev/usb/files.usb 1.126 via patch
sys/dev/usb/if_smsc.c 1.7 via patch
sys/dev/usb/if_smscreg.h 1.1 via patch
sys/dev/usb/if_smscvar.h 1.1 via patch
sys/dev/usb/usbdevices.config patch
sys/dev/usb/usbdevs 1.633 via patch
sys/dev/usb/usbdevs.h regen
sys/dev/usb/usbdevs_data.h regen
sys/dev/wscons/wsconsio.h 1.105,1.107 via patch
sys/dev/wscons/wsdisplayvar.h 1.50
sys/dev/wscons/wsdisplay_util.c 1.2
sys/dev/videomode/edid.c 1.12 via patch

Greatly improved Raspberry Pi support. USB and onboard
Ethernet should work.
[skrll, ticket #813]
 1.49.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.50.2.1  18-May-2014  rmind sync with head
 1.51.6.1  28-Aug-2017  skrll Sync with HEAD
 1.52.10.1  10-Jun-2019  christos Sync with HEAD
 1.52.8.2  26-Dec-2018  pgoyette Sync with HEAD, resolve a few conflicts
 1.52.8.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.56.4.1  20-Mar-2023  martin Pull up following revision(s) (requested by mrg in ticket #122):

sys/external/bsd/drm2/dist/drm/amd/amdgpu/amdgpu_gart.c: revision 1.11
sys/external/bsd/drm2/nouveau/nouveau_pci.c: revision 1.37
sys/external/bsd/drm2/radeon/radeon_pci.c: revision 1.22
sys/dev/wscons/wsdisplay.c: revision 1.166
sys/dev/wscons/wsdisplayvar.h: revision 1.57

amdgpu: Fix bogus loop invariant assertions in amdgpu_gart_map.
nouveau: Kick out genfb on firmware framebuffer before initializing.

PR kern/53126

radeon: Kick out genfb on firmware framebuffer before initializing.
this is the same change as nouveau_pci.c:1.37, and should fix at
least PR#56714 and i thought at least another PR i can't find right
now. it fixes at least 2 different radeon cards for me on UEFI
booted system.

RSS XML Feed