History log of /dragonfly/sys/dev/misc/syscons/syscons.h (Results 1 – 25 of 42)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1, v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc, v5.0.2
# 1743eeb4 25-Nov-2017 Imre Vadász <imre@vdsz.com>

syscons - Partly implement FBIO_BLANK ioctl, for display powersaving.

* Only implement the parts relevant for display powersaving when a KMS
graphics driver is loaded. Adjust the existing V_DISPLA

syscons - Partly implement FBIO_BLANK ioctl, for display powersaving.

* Only implement the parts relevant for display powersaving when a KMS
graphics driver is loaded. Adjust the existing V_DISPLAY_* constant
definitions to match the corresponding definitions in FreeBSD.

show more ...


Revision tags: v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc
# 43c88c9d 03-Dec-2016 Imre Vadász <imre@vdsz.com>

syscons - Set cons_unavail when blanking framebuffer screen from syscons.

* This makes us treat panics while the screen is blanked in KMS mode
similar to panics while X is running. In both cases w

syscons - Set cons_unavail when blanking framebuffer screen from syscons.

* This makes us treat panics while the screen is blanked in KMS mode
similar to panics while X is running. In both cases we have no
possibility left to display the syscons console.

* This also sets the cons_unavail flag, when the KMS driver is unloaded
and the framebuffer console becomes unusable, until a new framebuffer
is registered for syscons (which will clear cons_unavail again).

show more ...


# f8b03d86 17-Nov-2016 Imre Vadász <imre@vdsz.com>

drm: Use fb_blank hooks from drm_fb_helper.c as a syscons screensaver.

* When the KMS framebuffer is registered in syscons, a screensaver is
registered in syscons, which uses the fb_blank callback

drm: Use fb_blank hooks from drm_fb_helper.c as a syscons screensaver.

* When the KMS framebuffer is registered in syscons, a screensaver is
registered in syscons, which uses the fb_blank callback (if provided
by the drm driver) for turning the display off.

* The syscons screensaver can be used by e.g. running "vidcontrol -t 30"
for a 30s "screensaver" timeout), or via the Shift-Pause shortcut (for
instantly enabling the "screensaver").

show more ...


# 0510b0ee 29-Nov-2016 Imre Vadász <imre@vdsz.com>

syscons - Add need_unlock arg to sc_clean_up and sc_wait_scrn_saver_stop.

* This should fix issues with VT switching when the screen is blanked.


# 909252eb 28-Nov-2016 Imre Vadász <imre@vdsz.com>

syscons - Add option for the default terminal border color to kernel config.

* The default terminal border can be set to e.g. darkgrey by adding
option SC_BORDER_COLOR="FG_DARKGREY"
to the kerne

syscons - Add option for the default terminal border color to kernel config.

* The default terminal border can be set to e.g. darkgrey by adding
option SC_BORDER_COLOR="FG_DARKGREY"
to the kernel configuration.

show more ...


# ba409a88 20-Nov-2016 Imre Vadász <imre@vdsz.com>

drm: Improve integration with syscons. Move taskqueue handling to syscons.

* Adds asynctd_lk to syscons' softc to synchronize unregister_framebuffer
code with the asynchronous screen refresh threa

drm: Improve integration with syscons. Move taskqueue handling to syscons.

* Adds asynctd_lk to syscons' softc to synchronize unregister_framebuffer
code with the asynchronous screen refresh threads.

* Use a generation counter in syscons to check if sc_update_render() needs
to update the VT resolution/mode. Remove struct fb_info *fbi pointer
from scr_stat, and always check the struct fb_info *fbi pointer in the
softc struct instead.

* Use videio_in_progress flag to make initial fb_set_par call a bit safer.

* Moves driver callbacks from struct fb_info itself into struct fb_ops,
and adds fb_blank and fb_debug_enter callbacks which will be wired up
in future commits.

* Add unregister_framebuffer() function to syscons, which is needed for
cleanly detaching a drm graphics driver which is used as framebuffer
console. The screen will turn off, blank or display a frozen screen,
after the graphics driver has detached.

* Use drm_fb_helper_unregister_framebuffer() and drm_fb_helper_release_fbi()
functions in radeon and i915, which are needed for cleanly detaching the
drivers.

* With radeonkms detaching and re-attaching is working very reliably
on an AMD G-T44R APU (i.e. HD6250 graphics).

* Detaching i915 on a Haswell notebook barely worked with several errors,
and trying to re-attach i915 caused the machine to hang.

show more ...


Revision tags: v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2
# 428805e9 11-Feb-2016 Imre Vadász <imre@vdsz.com>

kernel/syscons: Add EFI Framebuffer support.

* Uses the SC_DFLT_FONT kernel configuration option by default, which is
required for a usable EFI framebuffer console (otherwise no font would
be av

kernel/syscons: Add EFI Framebuffer support.

* Uses the SC_DFLT_FONT kernel configuration option by default, which is
required for a usable EFI framebuffer console (otherwise no font would
be available there, resulting in invisible text).

show more ...


# ff1a8594 17-Feb-2016 Imre Vadász <imre@vdsz.com>

kernel/syscons: Factor out font-scaling calculation to sc_font_scale().

Avoid setting desired_cols after calculating the font scaling factor,
otherwise multiple calls to sc_font_scale() could give s

kernel/syscons: Factor out font-scaling calculation to sc_font_scale().

Avoid setting desired_cols after calculating the font scaling factor,
otherwise multiple calls to sc_font_scale() could give surprising results.

Also use sc_font_scale in init_scp, and limit the terminal size on the
first vty to 80x25 to deal with the statically allocated sc_buffer for the
kernel console.

show more ...


Revision tags: v4.4.1, v4.4.0
# 8453b73b 26-Nov-2015 Imre Vadász <imre@vdsz.com>

syscons: Get rid of xpad variable by adjusting loop in sckmsrndr.c


Revision tags: v4.5.0, v4.4.0rc
# fa6e846f 11-Nov-2015 Imre Vadász <imre@vdsz.com>

syscons: Keep screen content and cursor pos when switching to kms console.


# d0a4041b 15-Aug-2015 Sascha Wildner <saw@online.de>

i386 removal, part 35/x: Remove the i386 specific vesa(4) code.

Clean up vga(4) too.


Revision tags: v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0
# 7ae6dbf0 19-Jun-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel/syscons - Fix excessive cpu latency during scrolling

* Scrolling a high-resolution (e.g. 4K monitor) kms console with the syscons
spinlock held can prevent the cpu from being able to servic

kernel/syscons - Fix excessive cpu latency during scrolling

* Scrolling a high-resolution (e.g. 4K monitor) kms console with the syscons
spinlock held can prevent the cpu from being able to service interrupts
for very long periods of time, enough to cause clicking and other audio
issues.

* The previous hack tried to fix this by allowing yields inside the render
loop, but this was not stable and did not completely solve the clicking.

* The new solution is to shove large screen updates off to a cothread which
will then run the update lockless, allowing interrupts. Minor frame buffer
corruption can occur during scrolling but will be quickly cleaned up.

This feature is disabled if the system is in the middle of a panic or
shutdown.

show more ...


Revision tags: v4.0.6
# a6aa3935 11-Jun-2015 Matthew Dillon <dillon@apollo.backplane.com>

kernel - Reduce interrupt latency during large framebuffer updates

* When syscons scrolls the entire framebuffer is updated. On large
(e.g. 4K) displays this can take excessively long and delay i

kernel - Reduce interrupt latency during large framebuffer updates

* When syscons scrolls the entire framebuffer is updated. On large
(e.g. 4K) displays this can take excessively long and delay interrupts
on the cpu for too long.

* Causes the hard sound interrupt to have high latencies and not operate
properly.

* Solved by releasing the syscons_lock() temporarily and issuing a splz()
during long copy operations.

Reported-by: swildner, others

show more ...


Revision tags: v4.3.0, v4.2.0rc
# 4c2b76c4 10-Jun-2015 Sascha Wildner <saw@online.de>

kernel/syscons: Fix a comment.

Noticed-by: ivadasz


# 219917ca 10-Jun-2015 Sascha Wildner <saw@online.de>

kernel/syscons: Add simple font scaling when using KMS drivers.

This commit lets the user choose the number of columns for KMS syscons
with a new tunable, kern.kms_columns. If it is not set, the def

kernel/syscons: Add simple font scaling when using KMS drivers.

This commit lets the user choose the number of columns for KMS syscons
with a new tunable, kern.kms_columns. If it is not set, the default is
to scale as close as possible to 80x25 using natural numbers as scaling
factors (e.g., on 1680x1050 the default would be a 105x32 char console
using a 16x32 font).

The commit also separates (scaled) character drawing into a new
function, blit_blk(), and does some cleanups.

Submitted-by: dillon

show more ...


# 717f4a47 03-Jun-2015 Sascha Wildner <saw@online.de>

kernel/syscons: First hacky steps to make syscons work with {i915,radeon}kms.

This is a joint effort of Imre Vadasz (all the drm/i915/radeon related
bits) and me (syscons rendering related bits, mai

kernel/syscons: First hacky steps to make syscons work with {i915,radeon}kms.

This is a joint effort of Imre Vadasz (all the drm/i915/radeon related
bits) and me (syscons rendering related bits, mainly).

To enable the support, the "kern.kms_console" tunable needs to be set
via loader.conf.

In-collaboration-with: ivadasz

show more ...


Revision tags: v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0, v3.8.2, v3.8.1, v3.6.3
# f6e8a0a1 07-Jun-2014 Imre Vadasz <imre@vdsz.com>

Convert files to UTF-8

Taken-from: FreeBSD


Revision tags: v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1, v3.6.0, v3.7.1, v3.6.0rc, v3.7.0, v3.4.3, v3.4.2, v3.4.0, v3.4.1, v3.4.0rc, v3.5.0, v3.2.2, v3.2.1, v3.2.0, v3.3.0, v3.0.3, v3.0.2, v3.0.1, v3.1.0, v3.0.0
# 86d7f5d3 26-Nov-2011 John Marino <draco@marino.st>

Initial import of binutils 2.22 on the new vendor branch

Future versions of binutils will also reside on this branch rather
than continuing to create new binutils branches for each new version.


Revision tags: v2.12.0, v2.13.0, v2.10.1, v2.11.0, v2.10.0, v2.9.1, v2.8.2, v2.8.1, v2.8.0, v2.9.0, v2.6.3, v2.7.3, v2.6.2, v2.7.2, v2.7.1, v2.6.1, v2.7.0, v2.6.0, v2.5.1, v2.4.1, v2.5.0, v2.4.0
# bcc53404 09-Sep-2009 Alex Hornung <ahornung@gmail.com>

kbdmux - make it work for us

* port kbdmux to DragonFly.

* change syscons to use kbdmux, if available.

* change kbd to use kbdmux, if available.

* cleanup kbd.

* use a simple buffer instead of c

kbdmux - make it work for us

* port kbdmux to DragonFly.

* change syscons to use kbdmux, if available.

* change kbd to use kbdmux, if available.

* cleanup kbd.

* use a simple buffer instead of clists for kbd.

* move kbd_ macros from syscons.h to kbdregs.h

* use kbd_ macros everywhere instead of unreadable stuff.

* sync ukbd with FreeBSD's latest ukbd before their switch to
usb4bsd.

Partially-Obtained-from: FreeBSD

show more ...


Revision tags: v2.3.2, v2.3.1, v2.2.1, v2.2.0, v2.3.0, v2.1.1, v2.0.1
# 59306b36 03-Aug-2008 Matthew Dillon <dillon@dragonflybsd.org>

Fix a panic on boot that can occur if you hit keys on the keyboard
before the console device's high level initialization is run.

Reported-by: "Alexander Polakov" <polachok@gmail.com>,
"David R

Fix a panic on boot that can occur if you hit keys on the keyboard
before the console device's high level initialization is run.

Reported-by: "Alexander Polakov" <polachok@gmail.com>,
"David Rhodus" <sdrhodus@gmail.com>

show more ...


# bb2c2021 19-Aug-2007 Sascha Wildner <swildner@dragonflybsd.org>

* Use one ioctl() (CONS_SET, analogous to CONS_GET) for switching video
modes instead of having one ioctl() per video mode.

* Adjust userspace (vidcontrol, libvgl) accordingly.

* Bump libvgl's ve

* Use one ioctl() (CONS_SET, analogous to CONS_GET) for switching video
modes instead of having one ioctl() per video mode.

* Adjust userspace (vidcontrol, libvgl) accordingly.

* Bump libvgl's version number, since this makes the VGLInit() function
incompatible (previously it took an ioctl request as the first argument,
now it's a mode number).

* Remove scvesactl.c, which no longer serves any purpose.

show more ...


# ce81f184 07-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Changes to consdev - low level kernel console initialization.

The consdev API was calling make_dev() extremely early in the boot sequence,
but except for a little code in syscons didn't really need

Changes to consdev - low level kernel console initialization.

The consdev API was calling make_dev() extremely early in the boot sequence,
but except for a little code in syscons didn't really need the abstraction
to operate the kernel console during boot.

Change the consdev API to no longer require the use the device abstraction
to operate. This will allow the device ABI (cdev_t) to be converted to
use SYSREF.

show more ...


# e3869ec7 22-Dec-2006 Sascha Wildner <swildner@dragonflybsd.org>

Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).


# b13267a5 10-Sep-2006 Matthew Dillon <dillon@dragonflybsd.org>

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the ker

Change the kernel dev_t, representing a pointer to a specinfo structure,
to cdev_t. Change struct specinfo to struct cdev. The name 'cdev' was taken
from FreeBSD. Remove the dev_t shim for the kernel.

This commit generally removes the overloading of 'dev_t' between userland and
the kernel.

Also fix a bug in libkvm where a kernel dev_t (now cdev_t) was not being
properly converted to a userland dev_t.

show more ...


# fef8985e 28-Jul-2006 Matthew Dillon <dillon@dragonflybsd.org>

MASSIVE reorganization of the device operations vector. Change cdevsw
to dev_ops. dev_ops is a syslink-compatible operations vector structure
similar to the vop_ops structure used by vnodes.

Remov

MASSIVE reorganization of the device operations vector. Change cdevsw
to dev_ops. dev_ops is a syslink-compatible operations vector structure
similar to the vop_ops structure used by vnodes.

Remove a huge number of instances where a thread pointer is still being
passed as an argument to various device ops and other related routines.
The device OPEN and IOCTL calls now take a ucred instead of a thread pointer,
and the CLOSE call no longer takes a thread pointer.

show more ...


12