The NetBSD Project

CVS log for src/sys/dev/wsfb/genfb.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / wsfb

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.90.4.1 / (download) - annotate - [select for diffs], Sat Feb 3 11:47:06 2024 UTC (3 weeks, 1 day ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC4
Changes since 1.90: +15 -3 lines
Diff to previous 1.90 (colored) next main 1.91 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #561):

	etc/etc.evbppc/Makefile.inc: revision 1.15
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.3
	sys/arch/evbppc/wii/dev/bwdsp.c: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_icon.png: revision 1.1
	usr.sbin/sysinst/arch/evbppc/md.h: revision 1.4
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.4
	sys/arch/evbppc/wii/dev/viio.h: revision 1.1
	sys/arch/evbppc/wii/dev/wiifb.c: revision 1.5
	sys/arch/evbppc/wii/dev/mainbus.h: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.1
	distrib/utils/embedded/conf/wii.conf: revision 1.2
	distrib/utils/embedded/conf/wii.conf: revision 1.3
	sys/dev/sdmmc/sdhcvar.h: revision 1.34
	sys/dev/sdmmc/sdhc.c: revision 1.118
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.1
	distrib/utils/embedded/conf/evbppc.conf: revision 1.1
	sys/dev/wsfb/genfb.c: revision 1.91
	sys/arch/evbppc/wii/dev/resetbtn.c: revision 1.2
	sys/dev/wscons/wsconsio.h: revision 1.127
	sys/arch/powerpc/oea/oea_machdep.c: revision 1.85
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.1
	sys/arch/evbppc/wii/dev/hollywood.h: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.1
	sys/arch/evbppc/conf/std.wii: revision 1.2
	sys/arch/evbppc/wii/dev/hollywood.c: revision 1.2
	sys/arch/evbppc/conf/std.wii: revision 1.3
	sys/arch/powerpc/oea/cpu_subr.c: revision 1.109
	sys/arch/evbppc/wii/wii_mmuinit.S: revision 1.1
	sys/dev/usb/usb.h: revision 1.124
	sys/arch/evbppc/wii/machdep.c: revision 1.1
	sys/arch/evbppc/wii/dev/rtcsram.c: revision 1.1
	sys/arch/powerpc/include/oea/hid.h: revision 1.14
	sys/arch/evbppc/wii/mainbus.c: revision 1.1
	sys/arch/evbppc/wii/machdep.c: revision 1.2
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/mainbus.c: revision 1.2
	sys/arch/evbppc/wii/machdep.c: revision 1.3
	sys/arch/evbppc/wii/dev/ehci_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/mainbus.c: revision 1.3
	sys/arch/evbppc/wii/machdep.c: revision 1.4
	sys/arch/evbppc/wii/dev/hwgpio.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.1
	sys/arch/evbppc/wii/dev/sdhc_hollywood.c: revision 1.2
	sys/arch/evbppc/wii/wii_locore.S: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.1
	sys/arch/evbppc/wii/wii_locore.S: revision 1.2
	sys/arch/evbppc/include/wii.h: revision 1.1
	sys/arch/evbppc/conf/files.wii: revision 1.2
	sys/arch/evbppc/wii/dev/exi.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.2
	sys/arch/evbppc/conf/files.wii: revision 1.3
	sys/arch/powerpc/powerpc/clock.c: revision 1.18
	sys/arch/evbppc/include/wii.h: revision 1.3
	sys/arch/evbppc/conf/files.wii: revision 1.4
	sys/arch/evbppc/include/wii.h: revision 1.4
	sys/arch/evbppc/wii/dev/exi.h: revision 1.1
	sys/arch/evbppc/wii/dev/avenc.c: revision 1.1
	sys/arch/evbppc/include/wii.h: revision 1.5
	sys/arch/evbppc/include/wii.h: revision 1.6
	sys/arch/evbppc/include/wii.h: revision 1.7
	sys/arch/evbppc/wii/dev/avenc.h: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.79
	sys/arch/evbppc/conf/WII: revision 1.1
	sys/arch/evbppc/conf/INSTALL_WII: revision 1.1
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.1
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.1
	sys/arch/evbppc/conf/WII: revision 1.2
	distrib/utils/embedded/files/evbppc_wii_meta.xml: revision 1.2
	sys/arch/evbppc/wii/dev/vireg.h: revision 1.2
	sys/arch/evbppc/conf/WII: revision 1.3
	sys/arch/evbppc/conf/WII: revision 1.4
	usr.sbin/sysinst/arch/evbppc/md.c: revision 1.11
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.1
	sys/dev/usb/ehcivar.h: revision 1.52
	sys/arch/evbppc/wii/pic_pi.c: revision 1.1
	sys/arch/evbppc/wii/dev/ohci_hollywood.c: revision 1.2
	etc/etc.evbppc/ttys: revision 1.8
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.2
	sys/arch/evbppc/wii/dev/bwai.c: revision 1.3
	sys/arch/evbppc/wii/autoconf.c: revision 1.1
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.1
	sys/arch/evbppc/wii/dev/bwai.h: revision 1.1
	sys/arch/evbppc/wii/autoconf.c: revision 1.2
	sys/arch/evbppc/conf/Makefile.wii.inc: revision 1.2

powerpc: oea: Fix prefetchable mappings
Prefetchable mappings need PMAP_NOCACHE to get write-combine semantics.
powerpc: oea: Decode IBM750CL L2 cache information.
sdmmc: add support for optional delay after register write
wscons: Add HOLLYWOOD display and YUY2 pixel format types
wsfb: add support for optional "devcmap" property
A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.
ehci: add EHCIF_32BIT_ACCESS flag to force 32-bit MMIO
fix comments: HID0 ICFI/DCFI are "flash invalidate", not "flush invalidate"
powerpc: fix delay for large (> ~5sec) values
When calculating the target timebase, promote '1000' on the RHS to ULL
to force 64-bit calculation, otherwise 'n * 1000' will overflow.
usb: increase USB_PORT_RESET_RECOVERY from 10ms to 20ms
I changed this from 250ms to 10ms back in 2021 based on a similar FreeBSD
change, but it seems to be a bit too aggressive for some platforms.
evbppc: Add initial support for the Nintendo Wii
wii: support RB_POWERDOWN
build fix: use dd with count=1 for compat with NetBSD dd(1)
wii: Add NTSC 480p support.
In addition to this, add VIIO_{GET,SET}REGS ioctl support to allow for
poking at video interface registers from userland. This is helpful for
debugging display issues.
wii: Add 128x48 icon to SD card image
wii: Fix a comment
wii: Add drivers for Broadway DSP and Audio interface.
0: [*] audio0 @ bwdsp0: Broadway DSP
       playback: 16, 2ch, 48000Hz
       record:   unavailable
       (P-) slinear_be 16/16, 2ch, { 48000 }
wii: Add screenblank support.
wii: Use screen dimming register for screen blanking.
wii: Add GPIO, I2C, and basic A/V encoder driver.
wii: Use A/V encoder volume controls instead of using a software filter.
wii: Simply DSP driver - no interrupt handler required.
wii: provide device names to intr_establish
wii$ intrctl list
interrupt id      CPU0  device name(s)
pi irq 14        64769* hollywood0
hollywood irq 36  5872* ehci0
hollywood irq 39 58907* sdhc0
hollywood irq 40     4* sdhc1
hollywood irq 49     0* resetbtn0
pi irq 5             0* bwai0
wii: Add support for passing boot options to the kernel.
wii: Add External interface bus and RTC support
wii: Remove objcopy after kernel build.
HBC will do the right thing.
Add wsvt25 entries (off by default) for ttyE0-ttyE3.
Add support for "PAL" (576i) mode on Wii.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Jan 20 00:24:58 2024 UTC (5 weeks, 2 days ago) by jmcneill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.90: +15 -3 lines
Diff to previous 1.90 (colored)

wsfb: add support for optional "devcmap" property

A hardware driver can supply a pointer to a 16x 32-bit array to override
the default rasops device colour map in the "devcmap" property.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Aug 1 23:30:10 2022 UTC (18 months, 3 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.89: +8 -2 lines
Diff to previous 1.89 (colored)

genfb: Handle uninitialized softc in genfb_enable/disable_polling.

This can happen due to janky MD kludgerosity like x86
x86_genfb_ddb_trap_callback, which should really be cleaned up, but
at least this might help with the recursive traps we've been seeing
in syzbot.

Revision 1.89 / (download) - annotate - [select for diffs], Sun Jul 17 13:10:54 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.88: +274 -190 lines
Diff to previous 1.88 (colored)

genfb(4): Make internal parts of struct genfb_softc private.

This way the ABI has no ifdefs, so it has a chance to be usable in
modules.  This also makes genfb much easier to maintain without
worrying about ABI breakage.

Revision 1.88 / (download) - annotate - [select for diffs], Sun Jul 17 13:10:04 2022 UTC (19 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.87: +8 -7 lines
Diff to previous 1.87 (colored)

genfb(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)

Better diagnostics.  No other functional change.

Revision 1.87 / (download) - annotate - [select for diffs], Sat Jul 9 13:37:12 2022 UTC (19 months, 2 weeks ago) by rin
Branch: MAIN
Changes since 1.86: +13 -3 lines
Diff to previous 1.86 (colored)

Fix GENFB_GLYPHCACHE with shadow fb.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Mar 28 11:21:40 2022 UTC (23 months ago) by mlelstv
Branch: MAIN
Changes since 1.85: +13 -2 lines
Diff to previous 1.85 (colored)

Add helper to detach genfb console.

Revision 1.85 / (download) - annotate - [select for diffs], Fri Dec 24 18:12:58 2021 UTC (2 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.84: +9 -5 lines
Diff to previous 1.84 (colored)

wsfb: Prefer wide fonts when EDID data is available.

To give us a better chance of picking a readable font, prefer fonts that
will render at least 3mm wide instead of picking the font that will be
closest to that size.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Aug 30 22:47:25 2021 UTC (2 years, 5 months ago) by jmcneill
Branch: MAIN
Changes since 1.83: +17 -11 lines
Diff to previous 1.83 (colored)

Add 10-bit pixel format support.

Revision 1.83 / (download) - annotate - [select for diffs], Sat Aug 7 16:19:17 2021 UTC (2 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2
Changes since 1.82: +3 -4 lines
Diff to previous 1.82 (colored)

Merge thorpej-cfargs2.

Revision 1.82.8.1 / (download) - annotate - [select for diffs], Wed Aug 4 23:25:00 2021 UTC (2 years, 6 months ago) by thorpej
Branch: thorpej-cfargs2
Changes since 1.82: +3 -4 lines
Diff to previous 1.82 (colored) next main 1.83 (colored)

Adapt to CFARGS().

Revision 1.82 / (download) - annotate - [select for diffs], Sat Apr 24 23:37:00 2021 UTC (2 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-cfargs2
Changes since 1.81: +5 -4 lines
Diff to previous 1.81 (colored)

Merge thorpej-cfargs branch:

Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.

Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
  actually needed.
- Don't be explicit about what interface attribute is attaching if
  the device only has one.  (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
  situations, making is visibly easier to see when indirect config is
  in play, and allowing for future change in semantics.  (As of now,
  this is just a wrapper around config_match(), but that is an
  implementation detail.)

Remove unnecessary or redundant interface attributes where they're not
needed.

There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)

...and a sentinel value CFARG_EOL.

Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.

Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance.  This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:52 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.78: +194 -5 lines
Diff to previous 1.78 (colored) next main 1.79 (colored)

Sync with HEAD.

Revision 1.81.2.1 / (download) - annotate - [select for diffs], Fri Apr 2 22:17:45 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.81: +5 -4 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

config_found_ia() -> config_found() w/ CFARG_IATTR.

Revision 1.81 / (download) - annotate - [select for diffs], Wed Jan 27 22:42:53 2021 UTC (3 years ago) by macallan
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base
Branch point for: thorpej-cfargs
Changes since 1.80: +183 -3 lines
Diff to previous 1.80 (colored)

add optional glyph cache for genfb
enable with options GENFB_GLYPHCACHE=n
with n being the desired size of the cache in MB. Should be enough to cache
at least 900 glyphs in whatever video mode used in order to be effective
in 32bit per pixel that's about 1MB

Revision 1.80 / (download) - annotate - [select for diffs], Tue Jan 26 18:08:33 2021 UTC (3 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.79: +2 -3 lines
Diff to previous 1.79 (colored)

remove outdated comment

Revision 1.79 / (download) - annotate - [select for diffs], Sun Jan 17 00:23:38 2021 UTC (3 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.78: +13 -3 lines
Diff to previous 1.78 (colored)

Prefer printing the framebuffer's PA instead of VA. It's much more useful..

Revision 1.78 / (download) - annotate - [select for diffs], Mon Oct 19 01:08:06 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.77: +15 -9 lines
Diff to previous 1.77 (colored)

Add "is_swapped" property which indicates 32-bpp framebuffer is
byte-swapped.

Revision 1.77 / (download) - annotate - [select for diffs], Sun Oct 18 12:47:37 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.76: +3 -8 lines
Diff to previous 1.76 (colored)

Revert rev 1.75; do not set WSFB_VRAM_IS_RAM flag bit. It indicates
memory type obtained by mmap. I just misunderstood its intention.

Thanks to jmcneill for pointing it out!

Revision 1.76 / (download) - annotate - [select for diffs], Sun Oct 18 12:00:12 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.75: +2 -3 lines
Diff to previous 1.75 (colored)

Remove stray TABs. No binary changes.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 18 11:54:20 2020 UTC (3 years, 4 months ago) by rin
Branch: MAIN
Changes since 1.74: +8 -3 lines
Diff to previous 1.74 (colored)

For WSDISPLAYIO_GET_FBINFO ioctl, set WSFB_VRAM_IS_RAM to fbi_flags
when shadow FB is used.

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Sun Jul 26 10:47:25 2020 UTC (3 years, 7 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Changes since 1.67.2.2: +13 -6 lines
Diff to previous 1.67.2.2 (colored) to branchpoint 1.67 (colored) next main 1.68 (colored)

Pull up following revision(s) (requested by jdolecek in ticket #1025):

	sys/dev/wsfb/genfb.c: revision 1.73

reduce stack usage in genfb_calc_hsize()

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jun 11 02:39:31 2020 UTC (3 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Update for proplib(3) API changes.

Revision 1.73 / (download) - annotate - [select for diffs], Sat May 30 14:15:43 2020 UTC (3 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.72: +13 -6 lines
Diff to previous 1.72 (colored)

reduce stack usage in genfb_calc_hsize()

Revision 1.63.2.4 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:40 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.63.2.3: +3 -4 lines
Diff to previous 1.63.2.3 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with HEAD

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:08 2020 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.71: +5 -6 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Apr 15 14:44:52 2020 UTC (3 years, 10 months ago) by martin
Branch: netbsd-8
Changes since 1.61: +5 -6 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #1532):

	sys/dev/wsfb/genfb.c: revision 1.72

  Get genfb's address offset correctly when the value >= 4G. OK's by jmcneill.

  Tested on Intel BXNUC10I3FNK (Comet Lake U).

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Wed Apr 15 14:15:17 2020 UTC (3 years, 10 months ago) by martin
Branch: netbsd-9
Changes since 1.67.2.1: +5 -6 lines
Diff to previous 1.67.2.1 (colored) to branchpoint 1.67 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #835):

	sys/dev/wsfb/genfb.c: revision 1.72

Get genfb's address offset correctly when the value >= 4G. OK's by jmcneill.

Tested on Intel BXNUC10I3FNK (Comet Lake U).

Revision 1.72 / (download) - annotate - [select for diffs], Mon Apr 13 15:26:57 2020 UTC (3 years, 10 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20200421, bouyer-xenpvh-base2, bouyer-xenpvh-base1
Changes since 1.71: +5 -6 lines
Diff to previous 1.71 (colored)

 Get genfb's address offset correctly when the vaule >= 4G. OK's by jmcneill.

 Tested on Intel BXNUC10I3FNK (Comet Lake U).

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:52 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.63.2.2: +28 -10 lines
Diff to previous 1.63.2.2 (colored) to branchpoint 1.63 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:14 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.63.2.1: +4 -4 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored)

Merge changes from current as of 20200406

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Sat Feb 29 20:19:17 2020 UTC (3 years, 11 months ago) by ad
Branch: ad-namecache
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored) next main 1.71 (colored)

Sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Sun Feb 23 14:44:23 2020 UTC (4 years ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base, ad-namecache-base3
Branch point for: bouyer-xenpvh
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

Do not replay the msgbuf if we are booting silent or quiet.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Thu Aug 15 12:21:27 2019 UTC (4 years, 6 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.67: +26 -8 lines
Diff to previous 1.67 (colored)

Pull up following revision(s) (requested by rin in ticket #56):

	sys/dev/rasops/rasops.c: revision 1.120
	sys/dev/rasops/rasops.h: revision 1.40
	sys/dev/rasops/rasops.c: revision 1.121
	sys/dev/rasops/rasops.h: revision 1.41
	sys/dev/rasops/rasops.c: revision 1.122
	sys/dev/rasops/rasops.h: revision 1.42
	sys/dev/rasops/rasops.h: revision 1.43
	sys/dev/rasops/rasops.h: revision 1.44
	sys/dev/rasops/rasops.h: revision 1.45
	sys/dev/rasops/rasops.h: revision 1.46
	sys/dev/rasops/rasops.h: revision 1.47
	sys/dev/rasops/rasops.h: revision 1.48
	sys/dev/rasops/rasops32.c: revision 1.40
	sys/dev/rasops/rasops32.c: revision 1.41
	sys/dev/rasops/rasops32.c: revision 1.42
	sys/dev/rasops/rasops32.c: revision 1.43
	sys/dev/rasops/rasops32.c: revision 1.44
	sys/dev/rasops/rasops32.c: revision 1.45
	sys/dev/rasops/rasops32.c: revision 1.46
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.1
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.2
	sys/dev/rasops/rasops1-4_putchar.h: revision 1.3
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.3
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.4
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.5
	sys/dev/rasops/rasops1_putchar_width.h: revision 1.6
	sys/dev/rasops/README: revision 1.7
	sys/dev/rasops/rasops_putchar_aa.h: revision 1.5
	sys/dev/rasops/rasops_putchar_aa.h: revision 1.6
	sys/dev/rasops/rasops8.c: revision 1.45
	sys/dev/rasops/rasops8.c: revision 1.46
	sys/dev/rasops/rasops8.c: revision 1.47
	sys/dev/rasops/rasops24.c: revision 1.40
	sys/dev/rasops/rasops8.c: revision 1.48
	sys/dev/rasops/rasops24.c: revision 1.41
	sys/dev/rasops/rasops8.c: revision 1.49
	sys/dev/rasops/rasops24.c: revision 1.42
	sys/dev/rasops/rasops24.c: revision 1.43
	sys/dev/rasops/rasops24.c: revision 1.44
	sys/dev/rasops/rasops_masks.c: revision 1.10
	doc/CHANGES: revision 1.2566
	sys/dev/rasops/rasops24.c: revision 1.45
	doc/CHANGES: revision 1.2567
	sys/dev/rasops/rasops24.c: revision 1.46
	sys/dev/rasops/rasops24.c: revision 1.47
	sys/dev/rasops/rasops24.c: revision 1.48
	sys/dev/rasops/rasops24.c: revision 1.49
	sys/dev/rasops/rasops_bitops.h: revision 1.19
	sys/dev/rasops/rasops_putchar_aa.h: file removal
	sys/dev/wscons/wsdisplay_vcons.c: revision 1.40
	sys/dev/rasops/rasops8.c: revision 1.50
	sys/dev/rasops/rasops8.c: revision 1.51
	sys/dev/rasops/rasops24.c: revision 1.50
	sys/arch/luna68k/dev/omrasops.c: revision 1.21
	sys/dev/rasops/rasops_bitops.h: revision 1.20
	sys/dev/wsfb/genfb.c: revision 1.68
	sys/dev/rasops/rasops_bitops.h: revision 1.21
	sys/dev/wsfb/genfb.c: revision 1.69
	sys/dev/rasops/rasops_putchar_width.h: revision 1.10
	sys/dev/rasops/rasops_bitops.h: revision 1.22
	sys/dev/rasops/rasops_putchar_width.h: revision 1.11
	sys/dev/rasops/rasops_bitops.h: revision 1.23
	sys/dev/rasops/rasops_putchar_width.h: revision 1.12
	sys/dev/rasops/rasops_bitops.h: revision 1.24
	sys/dev/rasops/rasops_putchar_width.h: revision 1.13
	sys/dev/rasops/rasops_bitops.h: revision 1.25
	sys/dev/rasops/rasops_putchar_width.h: revision 1.14
	sys/dev/rasops/rasops_putchar_width.h: revision 1.15
	sys/dev/rasops/rasops1.c: revision 1.32
	sys/dev/rasops/rasops1.c: revision 1.33
	sys/dev/rasops/rasops1.c: revision 1.34
	sys/dev/rasops/rasops1.c: revision 1.35
	sys/dev/rasops/rasops1.c: revision 1.36
	sys/dev/rasops/rasops1.c: revision 1.37
	sys/dev/rasops/rasops4.c: revision 1.21
	sys/dev/rasops/rasops4.c: revision 1.22
	sys/dev/rasops/rasops4.c: revision 1.23
	sys/dev/rasops/rasops4.c: revision 1.24
	sys/dev/rasops/rasops4.c: revision 1.25
	sys/dev/rasops/rasops4.c: revision 1.26
	sys/dev/rasops/rasops4.c: revision 1.27
	sys/dev/rasops/rasops4.c: revision 1.28
	sys/dev/wsfb/genfb.c: revision 1.70
	sys/dev/rasops/rasops2.c: revision 1.27
	sys/dev/rasops/rasops2.c: revision 1.28
	share/man/man9/rasops.9: revision 1.18
	sys/dev/rasops/rasops.c: revision 1.102
	sys/dev/rasops/rasops2.c: revision 1.29
	share/man/man9/rasops.9: revision 1.19
	sys/dev/rasops/rasops.c: revision 1.103
	sys/dev/rasops/rasops.c: revision 1.104
	sys/dev/rasops/rasops.c: revision 1.105
	sys/dev/rasops/rasops.c: revision 1.106
	sys/dev/rasops/rasops.c: revision 1.107
	sys/dev/rasops/rasops_putchar.h: revision 1.6
	sys/dev/rasops/rasops.c: revision 1.108
	sys/dev/rasops/rasops_putchar.h: revision 1.7
	sys/dev/rasops/rasops.c: revision 1.109
	sys/dev/rasops/rasops_putchar.h: revision 1.8
	sys/dev/rasops/rasops2.c: revision 1.30
	sys/dev/rasops/rasops2.c: revision 1.31
	sys/dev/rasops/rasops15.c: revision 1.32
	sys/dev/rasops/rasops2.c: revision 1.32
	sys/dev/rasops/rasops15.c: revision 1.33
	sys/dev/rasops/rasops2.c: revision 1.33
	sys/dev/rasops/rasops15.c: revision 1.34
	sys/dev/rasops/rasops15.c: revision 1.35
	sys/dev/rasops/rasops15.c: revision 1.36
	sys/dev/rasops/rasops.c: revision 1.110
	sys/dev/rasops/rasops15.c: revision 1.37
	sys/dev/rasops/rasops.c: revision 1.111
	sys/dev/rasops/rasops15.c: revision 1.38
	sys/dev/rasops/rasops.c: revision 1.112
	sys/dev/rasops/rasops15.c: revision 1.39
	sys/dev/rasops/rasops.c: revision 1.113
	sys/dev/rasops/rasops.c: revision 1.114
	sys/dev/rasops/rasops.c: revision 1.115
	sys/dev/rasops/rasops_masks.h: revision 1.9
	sys/dev/rasops/rasops.c: revision 1.116
	sys/dev/rasops/rasops.c: revision 1.117
	sys/dev/rasops/rasops.c: revision 1.118
	sys/dev/rasops/rasops.c: revision 1.119
	sys/dev/rasops/rasops.h: revision 1.39

Misc clean-up's:
- protect private stuff in rasops.h by _RASOPS_PRIVATE
- staticify rasops_copycols() and rasops_isgray[]
- G/C unused extern int cold
Switch to per-device stamp, and retire stamp_mutex.

Provide buffer capable of single-row pixels in order to make things simpler.

Factor out copy-paste. No functional changes.
When font is switched, not only putchar, but also other ri_ops can be
changed by backend driver, e.g., see rasops1.c:
https://nxr.netbsd.org/xref/src/sys/dev/rasops/rasops1.c#58
4 is 1 << 2, not 1 << 3...

Fix erasecols and do_cursor for font width >= 32 bits.
Also, some cosmetic clean-up's.

Oops, for rasops_copycols(), we cannot use memmove even if src == dst.
On the other hand, memmove is safe for rasops_copyrows().
Fix unaligned writes to buffer, that are introduced in 1.105:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.105

Support font width 32 on monochrome screen.

Remove duplicate substitution. Style. No functional changes.

Correct copy count. This affects ``left-to-right'' copy for region
including word boundary.

Fix a bug in shadow fb support for copycols on 1, 2, and 4bpp screen,
which was introduced in 1.18:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops_bitops.h#rev1.18

Add general putchar functions for 2 and 4bpp.
Note that 1bpp continues to use its local version in rasops1.c,
which is much faster and simpler.

Cosmetic changes. No functional changes.

Reflect reality.

Notify size of shadow framebuffer if enabled.

Fix unaligned word write's to buffer, introduced in rev 1.42:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops24.c#rev1.42

Real fix for 24-bpp color:
- When centering screen, locate effective base address of framebuffer to
  both word and 24-bit color boundary.
- Consistently convert ri_devcmap to ``big endian'' if not RI_BSWAP.

Also, fix possible bug for 15/16-bpp with RI_BSWAP (not tested).

Protect rasops_copy{rows,cols}() by _RASOPS_PRIVATE.

Use _KERNEL_OPT.

Simplify calculation for 12-byte alignment.
No functional changes.

Fix black color-attribution for depths 2 and 4.

Depth 2 is monochrome.
IMO, it is impossible to support ANSI colors on 2-bpp display; fore-
and background can be same value even if they are different colors
logically.

Fix a critical bug for rasops_copyrows() introduced in rev. 1.90:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/rasops/rasops.c#rev1.90
When src < dst, we have to copy backward.

Simplify rasops_do_cursor():
- Use static masks similar to that used in rasops_bitops.h,
  rather than generating them on the fly.
- Use pointer for proper type to avoid unnecessary casts.

Use "hp" instead of "hrp" consistently with other files.
No functional changes.

Stop allocating ri_buf and ri_stamp dynamically. As commented in
rasops.h, it is not safe to use kmem_alloc(9) in rasops_init();
rasops routines can be used for early putchar, which means that
UVM is not fully initialized.

Should fix a problem reported by macallan:
http://mail-index.netbsd.org/tech-kern/2019/08/02/msg025327.html

Instead of using ri_buf, inline function rasops_memcpy32() is
introduced to fill 32bit data efficiently.

Instead of using ri_stamp (per device stamp), stamp_ri is
introduced to distinguish for which device stamp is calculated.

Oops, revert an unintentional change for now.

If RI_CLEAR is set, do not forget to clear real framebuffer.

Modify struct rasops_info again (ride 9.99.4 bump).
- remove ri_buf and friends.
- remove ri_stamp and frieds.
- introduce ri_ul, which will be used for scaling underline with font.

Also add hack for ri_ul; adjust its size to obsoleted member, ri_delta,
which was only used rasops routines internally. Now, size and offsets of
all members of struct rasops_info become same with netbsd-9, -8, and -7,
again. So we can safelly pull up fixes to any release branches!

Scaling dimensions of underline by font height.

Currently,
- offset of underline is fixed to 1-row from bottom of characters, and
- height of underline is fixed to 1.
Both are good for standard 8x16 fonts. However, it is too thin for
larger fonts, especially when used on display of high resolution.
Also, 1-row offset of underline is ugly for small fonts, e.g.,
spleen5x8.
Therefore, adjust offset and height as,
- no changes for standard 16-height fonts.
- scaling by font height for larger fonts.
- set offset to zero for fonts of height smaller than 16.

Merge rasops_putchar_aa.h into rasops_putchar.h.

Support scaling underline dimensions by font height.

Separate general putchar for 1-4bpp from rasops_bitops:
- Support anti-aliasing for 2bpp, which works perfectly!
- Support scaling underline dimensions with font height.

We support anti-aliasing for depth 2.
Use switch appropriately.
- Stop showing struct rasops_info; readers can read the header itself.
- Correct description for optimized font widths.
- Remove strange blank line.

Try to improve formatting and naration.

Make rasops_erase{rows,cols}() public again; hp300/diofb uses them.
Pointed out by martin.

When legacy Apple 4-bpp color palette is used, make green dark so that
kernel messages are printed nicely on white background.

Fix color range overflow; we cannot make bright colors more brighter.

Correctly check whether character is in font in rasops_mapchar().
Also, make sure that in putchar functions for completeness.

Fix bug introduced in rev. 1.69:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/wsfb/genfb.c#rev1.69
is_bgr should be initialized to false. Otherwise, color becomes strange
for depths 24 and 32 unless backend explicitly set "is_bgr" property.

Set 4-bpp devcmap in a similar manner to non-RGB case of 8-bpp.
No functional changes since this is not in use (4-bpp is monochrome).

Misc style clean up's.
- Introduce and use proper macros.
- Use not ambiguous variable names.
- Unify similar functions as possible as I can.
- G/C unused headers.
- Use #include <dev/rasops/foo.h> instead of "foo.h"

No particular functional changes intended.

My work for rasops(9) was finished (hopefully).

I will send pull-up request for netbsd-9, if there are no new failures
reported within few days.

Fix format in order not to confuse changes2html script.
Minor improvements of wording for my entry.

When using stamp, drop attributions other than back and foreground
colors so that stamp is not updated unnecessarily.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Aug 9 17:22:02 2019 UTC (4 years, 6 months ago) by rin
Branch: MAIN
CVS Tags: phil-wifi-20191119, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: ad-namecache
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored)

Fix bug introduced in rev. 1.69:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/wsfb/genfb.c#rev1.69

is_bgr should be initialized to false. Otherwise, color becomes strange
for depths 24 and 32 unless backend explicitly set "is_bgr" property.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Aug 7 13:23:12 2019 UTC (4 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.68: +22 -8 lines
Diff to previous 1.68 (colored)

We support anti-aliasing for depth 2.
Use switch appropriately.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Aug 2 10:34:39 2019 UTC (4 years, 6 months ago) by rin
Branch: MAIN
Changes since 1.67: +5 -2 lines
Diff to previous 1.67 (colored)

Notify size of shadow framebuffer if enabled.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 29 14:07:37 2019 UTC (4 years, 6 months ago) by rin
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.66: +5 -8 lines
Diff to previous 1.66 (colored)

Enable anti-aliasing for depth 24.
Style.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 28 02:42:48 2019 UTC (4 years, 7 months ago) by rin
Branch: MAIN
Changes since 1.65: +5 -2 lines
Diff to previous 1.65 (colored)

sys/dev/rasops routines support anti-aliasing for depths 15 and 16.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:36 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.63: +43 -4 lines
Diff to previous 1.63 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Fri May 31 01:35:56 2019 UTC (4 years, 8 months ago) by jmcneill
Branch: MAIN
CVS Tags: phil-wifi-20190609
Changes since 1.64: +42 -3 lines
Diff to previous 1.64 (colored)

If an EDID is available, attempt to use the screen size to influence font
selection by passing a "wantcols" value to rasops_init that is satisfied
by a font that is at least 3mm wide.

Revision 1.62.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:06 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.62.2.1: +3 -3 lines
Diff to previous 1.62.2.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.64 / (download) - annotate - [select for diffs], Mon Sep 3 16:29:34 2018 UTC (5 years, 5 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, isaki-audio2-base, isaki-audio2
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

Rename min/max -> uimin/uimax for better honesty.

These functions are defined on unsigned int.  The generic name
min/max should not silently truncate to 32 bits on 64-bit systems.
This is purely a name change -- no functional change intended.

HOWEVER!  Some subsystems have

	#define min(a, b)	((a) < (b) ? (a) : (b))
	#define max(a, b)	((a) > (b) ? (a) : (b))

even though our standard name for that is MIN/MAX.  Although these
may invite multiple evaluation bugs, these do _not_ cause integer
truncation.

To avoid `fixing' these cases, I first changed the name in libkern,
and then compile-tested every file where min/max occurred in order to
confirm that it failed -- and thus confirm that nothing shadowed
min/max -- before changing it.

I have left a handful of bootloaders that are too annoying to
compile-test, and some dead code:

cobalt ews4800mips hp300 hppa ia64 luna68k vax
acorn32/if_ie.c (not included in any kernels)
macppc/if_gm.c (superseded by gem(4))

It should be easy to fix the fallout once identified -- this way of
doing things fails safe, and the goal here, after all, is to _avoid_
silent integer truncations, not introduce them.

Maybe one day we can reintroduce min/max as type-generic things that
never silently truncate.  But we should avoid doing that for a while,
so that existing code has a chance to be detected by the compiler for
conversion to uimin/uimax without changing the semantics until we can
properly audit it all.  (Who knows, maybe in some cases integer
truncation is actually intended!)

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Thu Mar 15 09:12:06 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.62: +5 -4 lines
Diff to previous 1.62 (colored)

Synch with HEAD

Revision 1.63 / (download) - annotate - [select for diffs], Tue Mar 6 07:49:36 2018 UTC (5 years, 11 months ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, jdolecek-ncqfixes-base, jdolecek-ncqfixes
Branch point for: phil-wifi
Changes since 1.62: +5 -4 lines
Diff to previous 1.62 (colored)

Fix cmap bounds checking.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Jan 21 04:20:10 2018 UTC (6 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Changes since 1.61: +3 -4 lines
Diff to previous 1.61 (colored)

CID-1427771: Remove incorrect pre-condition (index cannot be 256!)

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:37 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.48.2.2: +43 -25 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

update from HEAD

Revision 1.56.2.3 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:31 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.2.2: +23 -15 lines
Diff to previous 1.56.2.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.61 / (download) - annotate - [select for diffs], Thu Jun 1 02:45:12 2017 UTC (6 years, 8 months ago) by chs
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: netbsd-8
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

remove checks for failure after memory allocation calls that cannot fail:

  kmem_alloc() with KM_SLEEP
  kmem_zalloc() with KM_SLEEP
  percpu_alloc()
  pserialize_create()
  psref_class_create()

all of these paths include an assertion that the allocation has not failed,
so callers should not assert that again.

Revision 1.60 / (download) - annotate - [select for diffs], Fri May 19 19:23:24 2017 UTC (6 years, 9 months ago) by macallan
Branch: MAIN
Changes since 1.59: +8 -5 lines
Diff to previous 1.59 (colored)

enable font loading and screen resizing

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:54 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.58: +17 -12 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:39 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.58: +17 -12 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 25 01:11:55 2017 UTC (7 years ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.58: +17 -12 lines
Diff to previous 1.58 (colored)

genfb(4): Enabling/Disabling shadowfb can be controlled via prop.

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:14 2015 UTC (8 years, 8 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56.2.1: +7 -7 lines
Diff to previous 1.56.2.1 (colored) to branchpoint 1.56 (colored)

Sync with HEAD

Revision 1.58 / (download) - annotate - [select for diffs], Mon Jun 1 20:47:59 2015 UTC (8 years, 8 months ago) by nat
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored)

Fix splashscreen on resolutions where text is centered.

This commit was approved by macallan@

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:14 2015 UTC (8 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored)

Sync with HEAD

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Sat Mar 21 08:46:05 2015 UTC (8 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.55.2.1: +7 -5 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #631):
	sys/dev/wscons/wsconsio.h: revision 1.112 via patch
	sys/dev/wsfb/genfb.c: revision 1.57
add WSDISPLAY_TYPE_MESON
--
support 24bpp framebuffers

Revision 1.57 / (download) - annotate - [select for diffs], Fri Mar 20 21:55:46 2015 UTC (8 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.56: +7 -5 lines
Diff to previous 1.56 (colored)

support 24bpp framebuffers

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Fri Oct 3 16:22:58 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.55: +18 -10 lines
Diff to previous 1.55 (colored)

Pull up following revision(s) (requested by skrll in ticket #125):
	sys/dev/wsfb/genfb.c: revision 1.56
handle WSDISPLAYIO_GET_EDID and WSDISPLAYIO_GET_FBINFO only if the bus
frontend doesn't ( as in, returns EPASSTHROUGH or doesn't register a
handler )
Now flags passed from things like bcm2835_genfb.c are actually seen by
xf86-video-wsfb again and automatically disabling shadowfb works again,
which results in a major speedup on this kind of hardware.

Revision 1.47.2.2 / (download) - annotate - [select for diffs], Mon Sep 29 18:46:27 2014 UTC (9 years, 4 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.47.2.1: +3 -3 lines
Diff to previous 1.47.2.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Pull up following revision(s) (requested by riastradh in ticket #1120):
	sys/dev/pci/radeonfb.c: revision 1.84
	sys/dev/wsfb/genfb.c: revision 1.54
Do not printf(foobar()).  Bad bad bad bad bad!

Revision 1.56 / (download) - annotate - [select for diffs], Wed Sep 10 07:40:52 2014 UTC (9 years, 5 months ago) by macallan
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.55: +18 -10 lines
Diff to previous 1.55 (colored)

handle WSDISPLAYIO_GET_EDID and WSDISPLAYIO_GET_FBINFO only if the bus
frontend doesn't ( as in, returns EPASSTHROUGH or doesn't register a
handler )
Now flags passed from things like bcm2835_genfb.c are actually seen by
xf86-video-wsfb again and automatically disabling shadowfb works again,
which results in a major speedup on this kind of hardware.

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:52 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.48.2.1: +39 -5 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:59 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.53: +7 -3 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

Rebase.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 24 21:35:13 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored)

Add enable/disable polling hooks to genfb_ops.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 22 15:42:59 2014 UTC (9 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Do not printf(foobar()).  Bad bad bad bad bad!

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:40:37 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.42.2.2: +34 -4 lines
Diff to previous 1.42.2.2 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

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")

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:48 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.50: +34 -4 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head

Revision 1.53 / (download) - annotate - [select for diffs], Tue Mar 18 18:20:42 2014 UTC (9 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.52: +8 -4 lines
Diff to previous 1.52 (colored)

Merge riastradh-drm2 to HEAD.

Revision 1.50.8.3 / (download) - annotate - [select for diffs], Wed Jan 29 19:52:11 2014 UTC (10 years ago) by riastradh
Branch: riastradh-drm2
Changes since 1.50.8.2: +2 -0 lines
Diff to previous 1.50.8.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Make genfb a little friendlier to modules.

This is not enough to make it actually work as a module itself, but
it's enough to make the i915drm module use genfb.

Revision 1.50.8.2 / (download) - annotate - [select for diffs], Wed Jan 29 19:48:45 2014 UTC (10 years ago) by riastradh
Branch: riastradh-drm2
Changes since 1.50.8.1: +2 -1 lines
Diff to previous 1.50.8.1 (colored) to branchpoint 1.50 (colored)

Make genfb replay the msgbuf only if it's becoming the console.

Revision 1.50.8.1 / (download) - annotate - [select for diffs], Wed Jan 29 19:48:29 2014 UTC (10 years ago) by riastradh
Branch: riastradh-drm2
Changes since 1.50: +4 -3 lines
Diff to previous 1.50 (colored)

Make genfb_attach configure the wsemuldisplaydev attribute.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jan 22 18:47:11 2014 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.51: +20 -2 lines
Diff to previous 1.51 (colored)

Provide a wsdisplay_accessops.pollc

This makes sure that the screen gets painted properly during early boot
input (e.g. boot -a) on the Raspberry PI.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Oct 9 17:20:54 2013 UTC (10 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.50: +10 -2 lines
Diff to previous 1.50 (colored)

support WSDISPLAYIO_GET_FBINFO

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:44 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.48: +4 -4 lines
Diff to previous 1.48 (colored)

resync with head

Revision 1.47.2.1 / (download) - annotate - [select for diffs], Wed Feb 13 20:52:06 2013 UTC (11 years ago) by riz
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored)

Pull up following revision(s) (requested by skrll in ticket #818):
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.14
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c: revision 1.15
	external/mit/xorg/server/xorg-server/hw/xfree86/xorgos/Makefile: revision 1.32
	external/mit/xorg/server/drivers/xf86-input-keyboard/Makefile: revision 1.15
	sys/dev/wsfb/genfb.c: revision 1.49
	distrib/sets/lists/xserver/md.evbarm: revision 1.1
	sys/dev/wscons/wsdisplay_vconsvar.h: revision 1.22
	external/mit/xorg/server/xorg-server/Makefile.common: revision 1.24
	xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb.h: revision 1.4
	external/mit/xorg/server/drivers/Makefile: revision 1.61
	sys/dev/wsfb/genfb.c: revision 1.50
enable X11 build for evbarm.
aprint_verbose -> aprint_debug
WSDISPLAY_TYPE_VC4 framebuffer is BGR
for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont treat it as an error
default to swkbd mode on evbarm as well, now X without config should work
properly on BeagleBoard, RPi and the like
fix a typo in a comment
use WSDISPLAYIO_GET_FBINFO if available

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:17 2013 UTC (11 years, 1 month ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.42.2.1: +4 -4 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jan 10 22:06:59 2013 UTC (11 years, 1 month ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base8, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, riastradh-drm2
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont treat it as an error

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:59 2013 UTC (11 years, 1 month ago) by jmcneill
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

aprint_verbose -> aprint_debug

Revision 1.42.6.2 / (download) - annotate - [select for diffs], Sun Apr 29 23:05:02 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.42.6.1: +25 -3 lines
Diff to previous 1.42.6.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

sync to latest -current.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:11 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.42: +84 -12 lines
Diff to previous 1.42 (colored)

sync with head

Revision 1.48 / (download) - annotate - [select for diffs], Thu Apr 12 22:36:15 2012 UTC (11 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base10
Branch point for: tls-maxphys
Changes since 1.47: +25 -3 lines
Diff to previous 1.47 (colored)

in 32 bit colour assume RGB ordering, allow override using a device property

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:15 2012 UTC (12 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.42: +62 -12 lines
Diff to previous 1.42 (colored)

merge to -current.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Feb 7 18:48:19 2012 UTC (12 years ago) by phx
Branch: MAIN
CVS Tags: netbsd-6-base, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

On 8-bit screens only enable font anti-aliasing when the cmap_callback
property is defined. It is needed for a suitable R3G3B2 color map.
Ok by releng@

Revision 1.46 / (download) - annotate - [select for diffs], Wed Jan 11 16:13:11 2012 UTC (12 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored)

use rasops_init(0, 0)

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jan 4 20:18:28 2012 UTC (12 years, 1 month ago) by macallan
Branch: MAIN
Changes since 1.44: +53 -11 lines
Diff to previous 1.44 (colored)

support anti-aliased fonts in 8 bit, generate an appropriate colour map

Revision 1.44 / (download) - annotate - [select for diffs], Wed Dec 28 18:37:58 2011 UTC (12 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.43: +7 -2 lines
Diff to previous 1.43 (colored)

if the cursor row passed in a device property doesn't fit on the screen just
ignore it and clear the screen

Revision 1.43 / (download) - annotate - [select for diffs], Thu Dec 22 04:53:43 2011 UTC (12 years, 2 months ago) by macallan
Branch: MAIN
Changes since 1.42: +5 -2 lines
Diff to previous 1.42 (colored)

support anti-aliased fonts in 32bit colour

Revision 1.42 / (download) - annotate - [select for diffs], Wed Jul 13 22:47:29 2011 UTC (12 years, 7 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.41: +61 -72 lines
Diff to previous 1.41 (colored)

use callbacks that match the ioctl() interface to control backlight

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:20:12 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.40: +13 -25 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.29.2.3 / (download) - annotate - [select for diffs], Sun Jun 12 00:24:28 2011 UTC (12 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29.2.2: +11 -23 lines
Diff to previous 1.29.2.2 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored)

sync with head

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:46 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.32: +71 -63 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 2 02:33:42 2011 UTC (12 years, 8 months ago) by macallan
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base
Changes since 1.40: +13 -25 lines
Diff to previous 1.40 (colored)

some steps to make multiple instances work:
- don't bail if we're not the console. If we get the right paramters there is no
  reason not to work
- move wsdisplay_accessops into the softc
- call wsdisplay_cnattach only if we're the console

Revision 1.29.2.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:03 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29.2.1: +6 -1 lines
Diff to previous 1.29.2.1 (colored) to branchpoint 1.29 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Tue Mar 8 04:47:10 2011 UTC (12 years, 11 months ago) by macallan
Branch: MAIN
CVS Tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

fix build for LP32
thanks to uebayasi@

Revision 1.39 / (download) - annotate - [select for diffs], Tue Mar 8 03:16:30 2011 UTC (12 years, 11 months ago) by macallan
Branch: MAIN
Changes since 1.38: +8 -3 lines
Diff to previous 1.38 (colored)

look for a 'virtual_address' property and use it as fb address

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:54:20 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.29: +188 -45 lines
Diff to previous 1.29 (colored)

sync with head

Revision 1.32.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:30 2011 UTC (12 years, 11 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.32.4.2: +10 -5 lines
Diff to previous 1.32.4.2 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored)

Sync with HEAD

Revision 1.38 / (download) - annotate - [select for diffs], Tue Feb 22 01:26:14 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.37: +10 -6 lines
Diff to previous 1.37 (colored)

genfb_enable/disable_polling only matters if genfb is the console screen,
so make it a noop if it's not

Revision 1.37 / (download) - annotate - [select for diffs], Fri Feb 18 13:56:58 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored)

call vcons_hard_switch to switch to the console screen when entering polling
mode, makes ddb-from-X work with genfb on x86

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:16 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.32.4.1: +21 -4 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 12 17:15:27 2011 UTC (13 years ago) by phx
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.35: +4 -4 lines
Diff to previous 1.35 (colored)

Fixed NULL-pointer dereferencing when a mode-callback is not defined.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Feb 9 13:19:19 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.34: +19 -2 lines
Diff to previous 1.34 (colored)

add vcons_{enable,disable}_polling and genfb_{enable,disable}_polling
functions, to switch between intr and polling modes when VCONS_DRAW_INTR
is defined

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:57 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.32: +33 -40 lines
Diff to previous 1.32 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 8 10:52:56 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.33: +15 -3 lines
Diff to previous 1.33 (colored)

add a 'setmode' callback to genfb and use it to setup write-combining
MTRRs on x86 whenever switching to WSDISPLAYIO_MODE_EMUL

Revision 1.33 / (download) - annotate - [select for diffs], Sun Feb 6 23:25:17 2011 UTC (13 years ago) by jmcneill
Branch: MAIN
Changes since 1.32: +20 -39 lines
Diff to previous 1.32 (colored)

- add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:22 2010 UTC (13 years, 4 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.28.2.1: +134 -6 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with HEAD (-D20101022).

Revision 1.16.4.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:28 2010 UTC (13 years, 4 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.4: +136 -8 lines
Diff to previous 1.16.4.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Thu Oct 7 07:53:53 2010 UTC (13 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.31: +10 -10 lines
Diff to previous 1.31 (colored)

finish device_t-ification

Revision 1.31 / (download) - annotate - [select for diffs], Wed Oct 6 02:24:35 2010 UTC (13 years, 4 months ago) by macallan
Branch: MAIN
Changes since 1.30: +124 -3 lines
Diff to previous 1.30 (colored)

add support for backlight control via machine dependent callbacks

Revision 1.30 / (download) - annotate - [select for diffs], Tue Aug 31 02:49:17 2010 UTC (13 years, 5 months ago) by macallan
Branch: MAIN
Changes since 1.29: +9 -2 lines
Diff to previous 1.29 (colored)

make use of a shadow framebuffer optional, use VCONS_DONT_READ by default

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:55 2010 UTC (13 years, 10 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.28: +95 -3 lines
Diff to previous 1.28 (colored)

Sync with HEAD.

Revision 1.16.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:10 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.3: +95 -3 lines
Diff to previous 1.16.4.3 (colored) to branchpoint 1.16 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 22 05:55:10 2010 UTC (14 years ago) by ahoka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base10, uebayasi-xip-base2, uebayasi-xip-base1
Branch point for: rmind-uvmplock
Changes since 1.28: +95 -3 lines
Diff to previous 1.28 (colored)

Restore splashscreen support with genfb.
genfb patch from Pierre Pronchery, other small changes to make it
compile by me.

Closes PR kern/42605.

XXX doesnt work in 8bit, probably a cmap issue

Revision 1.16.4.3 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:59 2009 UTC (14 years, 5 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.2: +19 -9 lines
Diff to previous 1.16.4.2 (colored) to branchpoint 1.16 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Mon Aug 24 11:03:44 2009 UTC (14 years, 6 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, uebayasi-xip-base, matt-premerge-20091211, jym-xensuspend-nbase
Branch point for: uebayasi-xip
Changes since 1.27: +10 -5 lines
Diff to previous 1.27 (colored)

Expose genfb_restore_palette and allow MD code to specify PMF callbacks.

Revision 1.27 / (download) - annotate - [select for diffs], Thu Aug 20 02:51:27 2009 UTC (14 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.26: +11 -6 lines
Diff to previous 1.26 (colored)

call vcons_replay_msgbuf()

Revision 1.17.14.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:42 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.17: +76 -21 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.16.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:25 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16.4.1: +76 -21 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.17.8.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:32:35 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.17: +76 -21 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Sat Feb 21 17:24:47 2009 UTC (15 years ago) by christos
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base, jym-xensuspend-base
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

s/long/intptr_t/

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 20 08:04:15 2009 UTC (15 years ago) by dogcow
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

sparc complains "cast to pointer from integer of different size"; cast the
int to (void *)(long).

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 20 00:08:00 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.23: +15 -14 lines
Diff to previous 1.23 (colored)

If the bus glue provides an ioctl handler, don't return before we have a
chance to perform generic handling in the WSDISPLAYIO_SMODE case.

ok macallan

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 17 17:01:41 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored)

Use kmem_alloc instead of malloc for shadowfb

Revision 1.22 / (download) - annotate - [select for diffs], Tue Feb 17 02:41:11 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored)

Print the physical address if available instead of a virtual address.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Feb 17 02:19:33 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.20: +18 -6 lines
Diff to previous 1.20 (colored)

Add clear-screen and cursor-row properties to allow genfb to persist
screen state from the MD console driver.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Feb 16 22:24:40 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.19: +15 -2 lines
Diff to previous 1.19 (colored)

Provide callbacks so MD code can explicitly prevent genfb from matching;
works around vga/genfb deathmatches.

Revision 1.19 / (download) - annotate - [select for diffs], Sun Feb 15 18:41:49 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.18: +17 -2 lines
Diff to previous 1.18 (colored)

Introduce genfb_ops genfb_borrow callback to allow the bus frontend to
lend mappings to drm.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Feb 14 20:33:59 2009 UTC (15 years ago) by jmcneill
Branch: MAIN
Changes since 1.17: +15 -2 lines
Diff to previous 1.17 (colored)

Provide a stub genfb_cnattach for md code to call to give a hint to the
bus driver's match function to return a higher confidence (so it can
beat out vga(4), for example). genfb needs-flag so md code can determine
if the genfb driver is present.

Revision 1.13.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:57 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13.6.1: +3 -7 lines
Diff to previous 1.13.6.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:58 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.16: +2 -5 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:17 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.16: +2 -5 lines
Diff to previous 1.16 (colored)

sync with head.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 29 06:53:03 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, jym-xensuspend
Changes since 1.16: +2 -5 lines
Diff to previous 1.16 (colored)

Convert to new 2 clause license

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 5 15:50:49 2008 UTC (15 years, 10 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.15: +5 -6 lines
Diff to previous 1.15 (colored)

use aprint_*_dev and device_xname

Revision 1.13.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:59 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.13: +22 -24 lines
Diff to previous 1.13 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:16:12 2008 UTC (15 years, 11 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.13: +22 -24 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

sync with head.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:55 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.7.2.2: +22 -24 lines
Diff to previous 1.7.2.2 (colored) next main 1.8 (colored)

sync with HEAD

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Mon Mar 17 09:15:28 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.5: +22 -24 lines
Diff to previous 1.10.2.5 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 9 21:33:17 2008 UTC (15 years, 11 months ago) by phx
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

missing newline in message

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 9 20:32:30 2008 UTC (15 years, 11 months ago) by phx
Branch: MAIN
Changes since 1.13: +22 -24 lines
Diff to previous 1.13 (colored)

Do not attach genfb when the frame buffer is not flagged as being console
(e.g. when a serial console is used).
Approved by macallan.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:54 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.4: +10 -2 lines
Diff to previous 1.10.2.4 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:51 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.7.2.1: +14 -6 lines
Diff to previous 1.7.2.1 (colored)

sync with HEAD

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:24 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD

Revision 1.11.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:45:37 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.11.2.1: +10 -2 lines
Diff to previous 1.11.2.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:47:31 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with head.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 17 15:38:31 2007 UTC (16 years, 2 months ago) by macallan
Branch: MAIN
CVS Tags: vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-base, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.12: +10 -2 lines
Diff to previous 1.12 (colored)

deal with a bug in the Sun Raptor's firmware which reports
linebytes == width even in 32bit colour

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:20:11 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Sync with HEAD.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Fri Dec 7 17:31:47 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.3: +6 -6 lines
Diff to previous 1.10.2.3 (colored) to branchpoint 1.10 (colored)

sync with head

Revision 1.4.8.4 / (download) - annotate - [select for diffs], Wed Nov 21 21:55:53 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.4.8.3: +6 -6 lines
Diff to previous 1.4.8.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.10.6.2 / (download) - annotate - [select for diffs], Wed Nov 21 21:19:43 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.10.6.1: +4 -4 lines
Diff to previous 1.10.6.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Mon Nov 19 04:00:39 2007 UTC (16 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

sprinkle \n

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Thu Nov 15 11:44:34 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.2: +31 -10 lines
Diff to previous 1.10.2.2 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.10.6.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:01:43 2007 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.10: +31 -10 lines
Diff to previous 1.10 (colored)

Sync with HEAD

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:30:54 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.7: +45 -13 lines
Diff to previous 1.7 (colored)

sync with HEAD

Revision 1.4.8.3 / (download) - annotate - [select for diffs], Tue Nov 6 19:25:23 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.4.8.2: +31 -10 lines
Diff to previous 1.4.8.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Nov 5 16:57:46 2007 UTC (16 years, 3 months ago) by macallan
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.10: +31 -10 lines
Diff to previous 1.10 (colored)

don't panic if we're not finding all the properties we need. Just complain
quietly and return.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Tue Oct 9 13:42:13 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.2.2.4: +18 -6 lines
Diff to previous 1.2.2.4 (colored) next main 1.3 (colored)

Sync with head.

Revision 1.4.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:48:45 2007 UTC (16 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.4.8.1: +18 -6 lines
Diff to previous 1.4.8.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:39:44 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10.2.1: +386 -0 lines
Diff to previous 1.10.2.1 (colored) to branchpoint 1.10 (colored)

sync with head.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:22:55 2007 UTC (16 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.4.4.1: +18 -6 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD.

Revision 1.10.2.1, Thu Aug 30 15:40:41 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.10: +0 -386 lines
FILE REMOVED

file genfb.c was added on branch yamt-lazymbuf on 2007-09-03 14:39:44 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 30 15:40:41 2007 UTC (16 years, 6 months ago) by jmmv
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, nick-csl-alignment-base5
Branch point for: yamt-lazymbuf, bouyer-xenamd64
Changes since 1.9: +9 -2 lines
Diff to previous 1.9 (colored)

Clear the screen during initialization so that the first messages are not
printed over "unknown garbage" (e.g. the Mac OS desktop).  Agreed with
macallan@.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 30 13:36:27 2007 UTC (16 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored)

Print some details of the framebuffer configuration during attach.
OK'ed by macallan@.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 30 13:32:18 2007 UTC (16 years, 6 months ago) by jmmv
Branch: MAIN
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

Properly initialize the palette registers by calling the colormap callback
on all of them.  A typo made it only initialize half of them.  OK'ed by
macallan@.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Aug 24 19:12:21 2007 UTC (16 years, 6 months ago) by macallan
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

use bool with prop_dictionary_get_bool()

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:05 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.2.2.3: +14 -4 lines
Diff to previous 1.2.2.3 (colored)

Sync with HEAD.

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:48:52 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.4: +14 -4 lines
Diff to previous 1.4 (colored)

Sync with HEAD.

Revision 1.4.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:15 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.4: +14 -4 lines
Diff to previous 1.4 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Sun Aug 5 03:23:03 2007 UTC (16 years, 6 months ago) by macallan
Branch: matt-mips64
Changes since 1.6.2.1: +374 -0 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

fix typo - fbsize is /height/ * stride. Doh.

Revision 1.6.2.1, Sun Aug 5 03:23:02 2007 UTC (16 years, 6 months ago) by macallan
Branch: matt-mips64
Changes since 1.6: +0 -374 lines
FILE REMOVED

file genfb.c was added on branch matt-mips64 on 2007-08-05 03:23:03 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 5 03:23:02 2007 UTC (16 years, 6 months ago) by macallan
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored)

fix typo - fbsize is /height/ * stride. Doh.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 4 23:51:37 2007 UTC (16 years, 6 months ago) by macallan
Branch: MAIN
Changes since 1.4: +11 -3 lines
Diff to previous 1.4 (colored)

add shadow fb support
now genfb is actually usable even on slow PCI framebuffers. Yay Jared :)

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Sun May 27 14:30:33 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.2.2.2: +32 -7 lines
Diff to previous 1.2.2.2 (colored)

Sync with head.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:33 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.4.2.1: +364 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head.

Revision 1.4.2.1, Sat Apr 14 19:56:05 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.4: +0 -364 lines
FILE REMOVED

file genfb.c was added on branch yamt-idlelwp on 2007-04-15 16:03:33 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Sat Apr 14 19:56:05 2007 UTC (16 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: yamt-idlelwp, nick-csl-alignment, jmcneill-pm
Changes since 1.3: +21 -4 lines
Diff to previous 1.3 (colored)

add a callback to change the colour map
so now X with wsfb on top of genfb should look right

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 11 04:47:09 2007 UTC (16 years, 10 months ago) by macallan
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.2: +13 -5 lines
Diff to previous 1.2 (colored)

add WSDISPLAYIO_LINEBYTES support so we can run XFree86 with wsfb

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:24:53 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.2.2.1: +339 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with head.

Revision 1.2.2.1, Tue Apr 10 00:14:42 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.2: +0 -339 lines
FILE REMOVED

file genfb.c was added on branch vmlocking on 2007-04-10 13:24:53 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Tue Apr 10 00:14:42 2007 UTC (16 years, 10 months ago) by macallan
Branch: MAIN
Branch point for: vmlocking
Changes since 1.1: +31 -52 lines
Diff to previous 1.1 (colored)

- move all memory mapping into the bus frontend
- get rid of macppc-isms like *_mmap() returning physical addresses

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 7 03:41:26 2007 UTC (16 years, 10 months ago) by macallan
Branch: MAIN

add genfb, a generic framebuffer console driver that's configured via
device properties - all it needs is width and height in pixels, stride in
bytes, depth in bits and the framebuffer address.
Features:
- unaccelerated fb console with colours and virtual consoles
- split into console handling and bus frontend
- so far there is only a PCI bus frontend which allows to mmap BARs belonging
  to the graphics controller, others should be easy to add.

TODO:
- find an opaque way to change the palette ( probably pass a function
  pointer as property ) since this would need to call some firmware interface
  which is pretty much always MD
- find a clean way to mmap the framebuffer, just returning the physical
  address works on macppc but not on other architectures. Problem is, that
  we cannot rely on the address being a bus address - on macppc it is,
  but for instance on sparc64 it's not.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>