History log of /netbsd/sys/dev/wscons/wsdisplayvar.h (Results 1 – 25 of 57)
Revision Date Author Comments
# 087c187e 01-Mar-2023 riastradh <riastradh@NetBSD.org>

nouveau: Kick out genfb on firmware framebuffer before initializing.

PR kern/53126


# 24476658 29-Jan-2022 uwe <uwe@NetBSD.org>

Default WSDISPLAY_BORDER_COLOR to WS_DEFAULT_BG.
Avoids black overscan area when WS_DEFAULT_BG is set.


# b26e9358 30-Jan-2019 jmcneill <jmcneill@NetBSD.org>

Suspend multicons output to the old console device while replaying
the vcons msgbuf.


# f0e8ec2a 04-Dec-2018 mlelstv <mlelstv@NetBSD.org>

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.


# b278453b 26-Sep-2018 bouyer <bouyer@NetBSD.org>

Introduce wsdisplay_isconsole(struct wsdisplay_softc *), which
returns sc->sc_isconsole


# 82229420 19-May-2017 macallan <macallan@NetBSD.org>

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 geometr

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

show more ...


# 3886243d 21-Jan-2014 mlelstv <mlelstv@NetBSD.org>

add function to detach wscons from a console. This allows to
switch the console to a different driver.


# 0b484f82 31-Jan-2013 macallan <macallan@NetBSD.org>

add ioctl(WSDISPLAYIO_GET_FBINFO)


# 40425db9 29-Jun-2011 macallan <macallan@NetBSD.org>

declare wsdisplayio_get_edid()


# 6d35fa38 02-Feb-2010 drochner <drochner@NetBSD.org>

give up some silly macros which were only used ~once, and reduce
dependency on "locators.h"
makes the code more LKM frienly


# d94699ec 25-Mar-2008 cube <cube@NetBSD.org>

Split device_t and softc for wskbd(4), wsmouse(4) and that creepy wsmux(4).


# 0c3c5106 20-Feb-2008 drochner <drochner@NetBSD.org>

-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 con

-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.

show more ...


# 1c47f4bb 13-Dec-2007 joerg <joerg@NetBSD.org>

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 in

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.

show more ...


# 96d14f09 19-Oct-2007 dogcow <dogcow@NetBSD.org>

If you're going to use device_t, may as well include sys/device.h; unb0rks
the build for sparc{,64}.


# e4a56b25 18-Oct-2007 joerg <joerg@NetBSD.org>

Use aprint API for output and convert to device_t/softc separation.


# 53524e44 04-Mar-2007 christos <christos@NetBSD.org>

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.


# 1009b21c 06-Nov-2006 macallan <macallan@NetBSD.org>

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


# 85e327e2 09-Oct-2006 peter <peter@NetBSD.org>

KNF: No variable names in the prototype.


# aec18036 15-Apr-2006 jmmv <jmmv@NetBSD.org>

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 a

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@.

show more ...


# 7a51d4dd 12-Apr-2006 jmmv <jmmv@NetBSD.org>

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

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@.

show more ...


# 3d2bb104 07-Apr-2006 drochner <drochner@NetBSD.org>

don't include opt_wsdisplay_border.h here, to limit dependencies


# 5b4dd527 05-Apr-2006 drochner <drochner@NetBSD.org>

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 implemen

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.

show more ...


# 117a143d 19-Feb-2006 jmcneill <jmcneill@NetBSD.org>

Multiple inclusion protection.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# f90bcf3a 29-May-2005 christos <christos@NetBSD.org>

- sprinkle const.
- avoid variable shadowing.


123