CVS log for src/sys/dev/wsfb/genfb.c
Up to [cvs.NetBSD.org] / src / sys / dev / wsfb
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.95: download - view: text, markup, annotated - select for diffs
Sat Nov 14 14:49:49 2026 UTC (41 hours, 4 minutes ago) by nat
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +19 -2
lines
Save and restore color palette at 8bpp.
Patch and testing by Ray Tran.
Addresses PR/60696.
Addresses PR/40643.
Should address PR/46574 also.
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sat Jan 10 23:55:24 2026 UTC (10 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-exfatfs-base-20261102
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +3 -12
lines
wiiu: Fixup FB pixel format.
linux-loader places the FB in a strange format, let's restore it to
something more reasonable. Retire the ridiculous "is_brg" option.
Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri Jan 9 22:54:34 2026 UTC (10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +12 -3
lines
Add support for the Nintendo Wii U.
Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Sat Aug 2 05:57:08 2025 UTC (15 months, 2 weeks ago) by perseant
Branches: perseant-exfatfs
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +118 -110
lines
Sync with HEAD
Revision 1.92: download - view: text, markup, annotated - select for diffs
Tue Apr 29 12:20:36 2025 UTC (18 months, 2 weeks ago) by tsutsui
Branches: MAIN
CVS tags: perseant-exfatfs-base-20250801,
netbsd-11-base,
netbsd-11-1-RELEASE,
netbsd-11-0-RELEASE,
netbsd-11-0-RC7,
netbsd-11-0-RC6,
netbsd-11-0-RC5,
netbsd-11-0-RC4,
netbsd-11-0-RC3,
netbsd-11-0-RC2,
netbsd-11-0-RC1,
netbsd-11
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +118 -110
lines
Fix indent.
Revision 1.90.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 3 11:47:06 2024 UTC (2 years, 9 months ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-2-RELEASE,
netbsd-10-1-RELEASE,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4
Diff to: previous 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90: +15 -3
lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 20 00:24:58 2024 UTC (2 years, 9 months ago) by jmcneill
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base
Branch point for: perseant-exfatfs
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +15 -3
lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 1 23:30:10 2022 UTC (4 years, 3 months ago) by riastradh
Branches: 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
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +8 -2
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 17 13:10:54 2022 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +274 -190
lines
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 - view: text, markup, annotated - select for diffs
Sun Jul 17 13:10:04 2022 UTC (4 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +8 -7
lines
genfb(4): KASSERT(a && b) -> KASSERT(a); KASSERT(b)
Better diagnostics. No other functional change.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Sat Jul 9 13:37:12 2022 UTC (4 years, 4 months ago) by rin
Branches: MAIN
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +13 -3
lines
Fix GENFB_GLYPHCACHE with shadow fb.
Revision 1.86: download - view: text, markup, annotated - select for diffs
Mon Mar 28 11:21:40 2022 UTC (4 years, 7 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +13 -2
lines
Add helper to detach genfb console.
Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Dec 24 18:12:58 2021 UTC (4 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +9 -5
lines
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 - view: text, markup, annotated - select for diffs
Mon Aug 30 22:47:25 2021 UTC (5 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +17 -11
lines
Add 10-bit pixel format support.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Aug 7 16:19:17 2021 UTC (5 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +3 -4
lines
Merge thorpej-cfargs2.
Revision 1.82.8.1: download - view: text, markup, annotated - select for diffs
Wed Aug 4 23:25:00 2021 UTC (5 years, 3 months ago) by thorpej
Branches: thorpej-cfargs2
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +3 -4
lines
Adapt to CFARGS().
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Apr 24 23:37:00 2021 UTC (5 years, 6 months ago) by thorpej
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +5 -4
lines
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 - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:52 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +194 -5
lines
Sync with HEAD.
Revision 1.81.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 2 22:17:45 2021 UTC (5 years, 7 months ago) by thorpej
Branches: thorpej-cfargs
Diff to: previous 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81: +5 -4
lines
config_found_ia() -> config_found() w/ CFARG_IATTR.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Jan 27 22:42:53 2021 UTC (5 years, 9 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-cfargs-base
Branch point for: thorpej-cfargs
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +183 -3
lines
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 - view: text, markup, annotated - select for diffs
Tue Jan 26 18:08:33 2021 UTC (5 years, 9 months ago) by macallan
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -3
lines
remove outdated comment
Revision 1.79: download - view: text, markup, annotated - select for diffs
Sun Jan 17 00:23:38 2021 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +13 -3
lines
Prefer printing the framebuffer's PA instead of VA. It's much more useful..
Revision 1.78: download - view: text, markup, annotated - select for diffs
Mon Oct 19 01:08:06 2020 UTC (6 years ago) by rin
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +15 -9
lines
Add "is_swapped" property which indicates 32-bpp framebuffer is
byte-swapped.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Sun Oct 18 12:47:37 2020 UTC (6 years ago) by rin
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +3 -8
lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 18 12:00:12 2020 UTC (6 years ago) by rin
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -3
lines
Remove stray TABs. No binary changes.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Oct 18 11:54:20 2020 UTC (6 years ago) by rin
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +8 -3
lines
For WSDISPLAYIO_GET_FBINFO ioctl, set WSFB_VRAM_IS_RAM to fbi_flags
when shadow FB is used.
Revision 1.67.2.3: download - view: text, markup, annotated - select for diffs
Sun Jul 26 10:47:25 2020 UTC (6 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-5-RELEASE,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE
Diff to: previous 1.67.2.2: preferred, colored; branchpoint 1.67: preferred, colored; next MAIN 1.68: preferred, colored
Changes since revision 1.67.2.2: +13 -6
lines
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 - view: text, markup, annotated - select for diffs
Thu Jun 11 02:39:31 2020 UTC (6 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3
lines
Update for proplib(3) API changes.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sat May 30 14:15:43 2020 UTC (6 years, 5 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +13 -6
lines
reduce stack usage in genfb_calc_hsize()
Revision 1.63.2.4: download - view: text, markup, annotated - select for diffs
Tue Apr 21 18:42:40 2020 UTC (6 years, 6 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.63.2.3: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.3: +3 -4
lines
Sync with HEAD
Revision 1.71.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 20 11:29:08 2020 UTC (6 years, 6 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +5 -6
lines
Sync with HEAD
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 15 14:44:52 2020 UTC (6 years, 7 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +5 -6
lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 15 14:15:17 2020 UTC (6 years, 7 months ago) by martin
Branches: netbsd-9
Diff to: previous 1.67.2.1: preferred, colored; branchpoint 1.67: preferred, colored
Changes since revision 1.67.2.1: +5 -6
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 15:26:57 2020 UTC (6 years, 7 months ago) by msaitoh
Branches: MAIN
CVS tags: phil-wifi-20200421,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +5 -6
lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:04:52 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.2: +28 -10
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:14 2020 UTC (6 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +4 -4
lines
Merge changes from current as of 20200406
Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:19:17 2020 UTC (6 years, 8 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +4 -4
lines
Sync with head.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun Feb 23 14:44:23 2020 UTC (6 years, 8 months ago) by martin
Branches: 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
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -4
lines
Do not replay the msgbuf if we are booting silent or quiet.
Revision 1.67.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 15 12:21:27 2019 UTC (7 years, 3 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +26 -8
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 9 17:22:02 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: phil-wifi-20191119,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 7 13:23:12 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +22 -8
lines
We support anti-aliasing for depth 2.
Use switch appropriately.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Fri Aug 2 10:34:39 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +5 -2
lines
Notify size of shadow framebuffer if enabled.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Jul 29 14:07:37 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
CVS tags: netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +5 -8
lines
Enable anti-aliasing for depth 24.
Style.
Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jul 28 02:42:48 2019 UTC (7 years, 3 months ago) by rin
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +5 -2
lines
sys/dev/rasops routines support anti-aliasing for depths 15 and 16.
Revision 1.63.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:07:36 2019 UTC (7 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +43 -4
lines
Sync with HEAD
Revision 1.65: download - view: text, markup, annotated - select for diffs
Fri May 31 01:35:56 2019 UTC (7 years, 5 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +42 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Sep 6 06:56:06 2018 UTC (8 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.62.2.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.2.1: +3 -3
lines
Sync with HEAD
Resolve a couple of conflicts (result of the uimin/uimax changes)
Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:29:34 2018 UTC (8 years, 2 months ago) by riastradh
Branches: 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
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 15 09:12:06 2018 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4
lines
Synch with HEAD
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Mar 6 07:49:36 2018 UTC (8 years, 8 months ago) by mlelstv
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +5 -4
lines
Fix cmap bounds checking.
Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jan 21 04:20:10 2018 UTC (8 years, 9 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-base
Branch point for: pgoyette-compat
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -4
lines
CID-1427771: Remove incorrect pre-condition (index cannot be 256!)
Revision 1.48.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:37:37 2017 UTC (8 years, 11 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.48.2.2: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.2.2: +43 -25
lines
update from HEAD
Revision 1.56.2.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:52:31 2017 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.2.2: preferred, colored; branchpoint 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.2: +23 -15
lines
Sync with HEAD
Revision 1.61: download - view: text, markup, annotated - select for diffs
Thu Jun 1 02:45:12 2017 UTC (9 years, 5 months ago) by chs
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Fri May 19 19:23:24 2017 UTC (9 years, 6 months ago) by macallan
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +8 -5
lines
enable font loading and screen resizing
Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:54 2017 UTC (9 years, 6 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +17 -12
lines
Sync with HEAD
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:39 2017 UTC (9 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +17 -12
lines
Sync with HEAD
Revision 1.59: download - view: text, markup, annotated - select for diffs
Sat Feb 25 01:11:55 2017 UTC (9 years, 8 months ago) by nonaka
Branches: 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
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +17 -12
lines
genfb(4): Enabling/Disabling shadowfb can be controlled via prop.
Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:14 2015 UTC (11 years, 5 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56.2.1: preferred, colored; branchpoint 1.56: preferred, colored
Changes since revision 1.56.2.1: +7 -7
lines
Sync with HEAD
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Jun 1 20:47:59 2015 UTC (11 years, 5 months ago) by nat
Branches: 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
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +3 -3
lines
Fix splashscreen on resolutions where text is centered.
This commit was approved by macallan@
Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:14 2015 UTC (11 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -5
lines
Sync with HEAD
Revision 1.55.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 21 08:46:05 2015 UTC (11 years, 7 months ago) by snj
Branches: 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
Diff to: previous 1.55.2.1: preferred, colored; branchpoint 1.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55.2.1: +7 -5
lines
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 - view: text, markup, annotated - select for diffs
Fri Mar 20 21:55:46 2015 UTC (11 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: nick-nhusb-base-20150406
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +7 -5
lines
support 24bpp framebuffers
Revision 1.55.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 3 16:22:58 2014 UTC (12 years, 1 month ago) by martin
Branches: netbsd-7
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +18 -10
lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 29 18:46:27 2014 UTC (12 years, 1 month ago) by msaitoh
Branches: netbsd-6
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.1: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 10 07:40:52 2014 UTC (12 years, 2 months ago) by macallan
Branches: MAIN
CVS tags: nick-nhusb-base
Branch point for: nick-nhusb
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +18 -10
lines
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 - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:52 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.48.2.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.2.1: +39 -5
lines
Rebase to HEAD as of a few days ago.
Revision 1.53.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:59 2014 UTC (12 years, 3 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +7 -3
lines
Rebase.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jul 24 21:35:13 2014 UTC (12 years, 3 months ago) by riastradh
Branches: MAIN
CVS tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -2
lines
Add enable/disable polling hooks to genfb_ops.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Jul 22 15:42:59 2014 UTC (12 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -3
lines
Do not printf(foobar()). Bad bad bad bad bad!
Revision 1.42.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:37 2014 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.42.2.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.2: +34 -4
lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:45:48 2014 UTC (12 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50: +34 -4
lines
sync with head
Revision 1.53: download - view: text, markup, annotated - select for diffs
Tue Mar 18 18:20:42 2014 UTC (12 years, 8 months ago) by riastradh
Branches: 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
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +8 -4
lines
Merge riastradh-drm2 to HEAD.
Revision 1.50.8.3: download - view: text, markup, annotated - select for diffs
Wed Jan 29 19:52:11 2014 UTC (12 years, 9 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.50.8.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.8.2: +2 -0
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 29 19:48:45 2014 UTC (12 years, 9 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.50.8.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.8.1: +2 -1
lines
Make genfb replay the msgbuf only if it's becoming the console.
Revision 1.50.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 29 19:48:29 2014 UTC (12 years, 9 months ago) by riastradh
Branches: riastradh-drm2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +4 -3
lines
Make genfb_attach configure the wsemuldisplaydev attribute.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Jan 22 18:47:11 2014 UTC (12 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +20 -2
lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 9 17:20:54 2013 UTC (13 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +10 -2
lines
support WSDISPLAYIO_GET_FBINFO
Revision 1.48.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:29:44 2013 UTC (13 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -4
lines
resync with head
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Wed Feb 13 20:52:06 2013 UTC (13 years, 9 months ago) by riz
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 23 00:06:17 2013 UTC (13 years, 9 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.2.1: +4 -4
lines
sync with head
Revision 1.50: download - view: text, markup, annotated - select for diffs
Thu Jan 10 22:06:59 2013 UTC (13 years, 10 months ago) by jmcneill
Branches: 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
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +3 -3
lines
for WSDISPLAYIO_SMODE, if the bus ioctl handler returns EPASSTHROUGH, dont treat it as an error
Revision 1.49: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:57:59 2013 UTC (13 years, 10 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -3
lines
aprint_verbose -> aprint_debug
Revision 1.42.6.2: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:05:02 2012 UTC (14 years, 6 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +25 -3
lines
sync to latest -current.
Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:11 2012 UTC (14 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +84 -12
lines
sync with head
Revision 1.48: download - view: text, markup, annotated - select for diffs
Thu Apr 12 22:36:15 2012 UTC (14 years, 7 months ago) by macallan
Branches: 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
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +25 -3
lines
in 32 bit colour assume RGB ordering, allow override using a device property
Revision 1.42.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:35:15 2012 UTC (14 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +62 -12
lines
merge to -current.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Tue Feb 7 18:48:19 2012 UTC (14 years, 9 months ago) by phx
Branches: 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
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 11 16:13:11 2012 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -3
lines
use rasops_init(0, 0)
Revision 1.45: download - view: text, markup, annotated - select for diffs
Wed Jan 4 20:18:28 2012 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +53 -11
lines
support anti-aliased fonts in 8 bit, generate an appropriate colour map
Revision 1.44: download - view: text, markup, annotated - select for diffs
Wed Dec 28 18:37:58 2011 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +7 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 22 04:53:43 2011 UTC (14 years, 10 months ago) by macallan
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -2
lines
support anti-aliased fonts in 32bit colour
Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Jul 13 22:47:29 2011 UTC (15 years, 4 months ago) by macallan
Branches: 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
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +61 -72
lines
use callbacks that match the ioctl() interface to control backlight
Revision 1.40.2.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:20:12 2011 UTC (15 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +13 -25
lines
Catchup with rmind-uvmplock merge.
Revision 1.29.2.3: download - view: text, markup, annotated - select for diffs
Sun Jun 12 00:24:28 2011 UTC (15 years, 5 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.29.2.2: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.2: +11 -23
lines
sync with head
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:08:46 2011 UTC (15 years, 5 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +71 -63
lines
Sync with HEAD.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Jun 2 02:33:42 2011 UTC (15 years, 5 months ago) by macallan
Branches: MAIN
CVS tags: rmind-uvmplock-nbase,
rmind-uvmplock-base
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +13 -25
lines
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 - view: text, markup, annotated - select for diffs
Thu Apr 21 01:42:03 2011 UTC (15 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored
Changes since revision 1.29.2.1: +6 -1
lines
sync with head
Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Mar 8 04:47:10 2011 UTC (15 years, 8 months ago) by macallan
Branches: MAIN
CVS tags: cherry-xenmp-base
Branch point for: cherry-xenmp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3
lines
fix build for LP32
thanks to uebayasi@
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Mar 8 03:16:30 2011 UTC (15 years, 8 months ago) by macallan
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +8 -3
lines
look for a 'virtual_address' property and use it as fb address
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:54:20 2011 UTC (15 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +188 -45
lines
sync with head
Revision 1.32.4.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:10:30 2011 UTC (15 years, 8 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.32.4.2: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.2: +10 -5
lines
Sync with HEAD
Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue Feb 22 01:26:14 2011 UTC (15 years, 8 months ago) by jmcneill
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +10 -6
lines
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 - view: text, markup, annotated - select for diffs
Fri Feb 18 13:56:58 2011 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +3 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Feb 17 12:00:16 2011 UTC (15 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored
Changes since revision 1.32.4.1: +21 -4
lines
Sync with HEAD
Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Feb 12 17:15:27 2011 UTC (15 years, 9 months ago) by phx
Branches: MAIN
CVS tags: bouyer-quota2-base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -4
lines
Fixed NULL-pointer dereferencing when a mode-callback is not defined.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Feb 9 13:19:19 2011 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +19 -2
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:57 2011 UTC (15 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +33 -40
lines
Sync with HEAD
Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Feb 8 10:52:56 2011 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +15 -3
lines
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 - view: text, markup, annotated - select for diffs
Sun Feb 6 23:25:17 2011 UTC (15 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +20 -39
lines
- add support for using compressed images as splash images
- retire SPLASHSCREEN_PROGRESS and SPLASHSCREEN_IMAGE options
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:22:22 2010 UTC (16 years ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.1: +134 -6
lines
Sync with HEAD (-D20101022).
Revision 1.16.4.5: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:32:28 2010 UTC (16 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16.4.4: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.4: +136 -8
lines
sync with head
Revision 1.32: download - view: text, markup, annotated - select for diffs
Thu Oct 7 07:53:53 2010 UTC (16 years, 1 month ago) by macallan
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -10
lines
finish device_t-ification
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Oct 6 02:24:35 2010 UTC (16 years, 1 month ago) by macallan
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +124 -3
lines
add support for backlight control via machine dependent callbacks
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Aug 31 02:49:17 2010 UTC (16 years, 2 months ago) by macallan
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +9 -2
lines
make use of a shadow framebuffer optional, use VCONS_DONT_READ by default
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:43:55 2010 UTC (16 years, 6 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +95 -3
lines
Sync with HEAD.
Revision 1.16.4.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:10 2010 UTC (16 years, 8 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16.4.3: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.3: +95 -3
lines
sync with head
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Feb 22 05:55:10 2010 UTC (16 years, 8 months ago) by ahoka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9,
yamt-nfs-mp-base10,
uebayasi-xip-base2,
uebayasi-xip-base1
Branch point for: rmind-uvmplock
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +95 -3
lines
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 - view: text, markup, annotated - select for diffs
Wed Sep 16 13:37:59 2009 UTC (17 years, 2 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16.4.2: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.2: +19 -9
lines
sync with head
Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Aug 24 11:03:44 2009 UTC (17 years, 2 months ago) by jmcneill
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
uebayasi-xip-base,
matt-premerge-20091211,
jym-xensuspend-nbase
Branch point for: uebayasi-xip
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -5
lines
Expose genfb_restore_palette and allow MD code to specify PMF callbacks.
Revision 1.27: download - view: text, markup, annotated - select for diffs
Thu Aug 20 02:51:27 2009 UTC (17 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +11 -6
lines
call vcons_replay_msgbuf()
Revision 1.17.14.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:21:42 2009 UTC (17 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +76 -21
lines
Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:13:25 2009 UTC (17 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored
Changes since revision 1.16.4.1: +76 -21
lines
sync with head.
Revision 1.17.8.1: download - view: text, markup, annotated - select for diffs
Tue Mar 3 18:32:35 2009 UTC (17 years, 8 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +76 -21
lines
Sync with HEAD.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Feb 21 17:24:47 2009 UTC (17 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
s/long/intptr_t/
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Feb 20 08:04:15 2009 UTC (17 years, 8 months ago) by dogcow
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -3
lines
sparc complains "cast to pointer from integer of different size"; cast the
int to (void *)(long).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Fri Feb 20 00:08:00 2009 UTC (17 years, 8 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +15 -14
lines
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 - view: text, markup, annotated - select for diffs
Tue Feb 17 17:01:41 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -5
lines
Use kmem_alloc instead of malloc for shadowfb
Revision 1.22: download - view: text, markup, annotated - select for diffs
Tue Feb 17 02:41:11 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +4 -3
lines
Print the physical address if available instead of a virtual address.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Tue Feb 17 02:19:33 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +18 -6
lines
Add clear-screen and cursor-row properties to allow genfb to persist
screen state from the MD console driver.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Feb 16 22:24:40 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +15 -2
lines
Provide callbacks so MD code can explicitly prevent genfb from matching;
works around vga/genfb deathmatches.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 15 18:41:49 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +17 -2
lines
Introduce genfb_ops genfb_borrow callback to allow the bus frontend to
lend mappings to drm.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Feb 14 20:33:59 2009 UTC (17 years, 9 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +15 -2
lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 2 13:23:57 2008 UTC (18 years, 5 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.13.6.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.6.1: +3 -7
lines
Sync with HEAD.
Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:34:58 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -5
lines
sync with head.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:25:17 2008 UTC (18 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -5
lines
sync with head.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Apr 29 06:53:03 2008 UTC (18 years, 6 months ago) by martin
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -5
lines
Convert to new 2 clause license
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sat Apr 5 15:50:49 2008 UTC (18 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base
Branch point for: yamt-pf42,
yamt-nfs-mp
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -6
lines
use aprint_*_dev and device_xname
Revision 1.13.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:59 2008 UTC (18 years, 7 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +22 -24
lines
Sync with HEAD.
Revision 1.13.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:16:12 2008 UTC (18 years, 7 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +22 -24
lines
sync with head.
Revision 1.7.2.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:55 2008 UTC (18 years, 7 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.2.2: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.2: +22 -24
lines
sync with HEAD
Revision 1.10.2.6: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:15:28 2008 UTC (18 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.5: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.5: +22 -24
lines
sync with head.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 9 21:33:17 2008 UTC (18 years, 8 months ago) by phx
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3
lines
missing newline in message
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Mar 9 20:32:30 2008 UTC (18 years, 8 months ago) by phx
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +22 -24
lines
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 - view: text, markup, annotated - select for diffs
Mon Jan 21 09:44:54 2008 UTC (18 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.4: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.4: +10 -2
lines
sync with head
Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:54:51 2008 UTC (18 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.2.1: preferred, colored
Changes since revision 1.7.2.1: +14 -6
lines
sync with HEAD
Revision 1.12.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:55:24 2008 UTC (18 years, 10 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +10 -2
lines
Sync with HEAD
Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:45:37 2007 UTC (18 years, 10 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.1: +10 -2
lines
Sync with HEAD.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:47:31 2007 UTC (18 years, 10 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +10 -2
lines
Sync with head.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Dec 17 15:38:31 2007 UTC (18 years, 11 months ago) by macallan
Branches: 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +10 -2
lines
deal with a bug in the Sun Raptor's firmware which reports
linebytes == width even in 32bit colour
Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:20:11 2007 UTC (18 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6
lines
Sync with HEAD.
Revision 1.10.2.4: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:31:47 2007 UTC (18 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.3: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.3: +6 -6
lines
sync with head
Revision 1.4.8.4: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:55:53 2007 UTC (18 years, 11 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.4.8.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.8.3: +6 -6
lines
Sync with HEAD.
Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:19:43 2007 UTC (18 years, 11 months ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.1: +4 -4
lines
Sync with HEAD
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Nov 19 04:00:39 2007 UTC (19 years ago) by macallan
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +6 -6
lines
sprinkle \n
Revision 1.10.2.3: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:44:34 2007 UTC (19 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.2: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.2: +31 -10
lines
sync with head.
Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Tue Nov 13 16:01:43 2007 UTC (19 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +31 -10
lines
Sync with HEAD
Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:30:54 2007 UTC (19 years ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +45 -13
lines
sync with HEAD
Revision 1.4.8.3: download - view: text, markup, annotated - select for diffs
Tue Nov 6 19:25:23 2007 UTC (19 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.4.8.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.8.2: +31 -10
lines
Sync with HEAD.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Nov 5 16:57:46 2007 UTC (19 years ago) by macallan
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +31 -10
lines
don't panic if we're not finding all the properties we need. Just complain
quietly and return.
Revision 1.2.2.5: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:42:13 2007 UTC (19 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.4: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2.2.4: +18 -6
lines
Sync with head.
Revision 1.4.8.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:48:45 2007 UTC (19 years, 2 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.4.8.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.8.1: +18 -6
lines
Sync with HEAD.
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:39:44 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.2.1: +386 -0
lines
sync with head.
Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:22:55 2007 UTC (19 years, 2 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +18 -6
lines
Sync with HEAD.
Revision 1.10.2.1
Thu Aug 30 15:40:41 2007 UTC (19 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.10: +0 -386
lines
file genfb.c was added on branch yamt-lazymbuf on 2007-09-03 14:39:44 +0000
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Aug 30 15:40:41 2007 UTC (19 years, 2 months ago) by jmmv
Branches: 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
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +9 -2
lines
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 - view: text, markup, annotated - select for diffs
Thu Aug 30 13:36:27 2007 UTC (19 years, 2 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +7 -3
lines
Print some details of the framebuffer configuration during attach.
OK'ed by macallan@.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Aug 30 13:32:18 2007 UTC (19 years, 2 months ago) by jmmv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
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 - view: text, markup, annotated - select for diffs
Fri Aug 24 19:12:21 2007 UTC (19 years, 2 months ago) by macallan
Branches: MAIN
Branch point for: matt-armv6
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -3
lines
use bool with prop_dictionary_get_bool()
Revision 1.2.2.4: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:05 2007 UTC (19 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.3: preferred, colored
Changes since revision 1.2.2.3: +14 -4
lines
Sync with HEAD.
Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:52 2007 UTC (19 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +14 -4
lines
Sync with HEAD.
Revision 1.4.8.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:37:15 2007 UTC (19 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +14 -4
lines
Sync with HEAD.
Revision 1.6.2.2: download - view: text, markup, annotated - select for diffs
Sun Aug 5 03:23:03 2007 UTC (19 years, 3 months ago) by macallan
Branches: matt-mips64
Diff to: previous 1.6.2.1: preferred, colored; branchpoint 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6.2.1: +374 -0
lines
fix typo - fbsize is /height/ * stride. Doh.
Revision 1.6.2.1
Sun Aug 5 03:23:02 2007 UTC (19 years, 3 months ago) by macallan
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.6: +0 -374
lines
file genfb.c was added on branch matt-mips64 on 2007-08-05 03:23:03 +0000
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 5 03:23:02 2007 UTC (19 years, 3 months ago) by macallan
Branches: MAIN
CVS tags: matt-mips64-base
Branch point for: matt-mips64
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +5 -3
lines
fix typo - fbsize is /height/ * stride. Doh.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Aug 4 23:51:37 2007 UTC (19 years, 3 months ago) by macallan
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +11 -3
lines
add shadow fb support
now genfb is actually usable even on slow PCI framebuffers. Yay Jared :)
Revision 1.2.2.3: download - view: text, markup, annotated - select for diffs
Sun May 27 14:30:33 2007 UTC (19 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.2: preferred, colored
Changes since revision 1.2.2.2: +32 -7
lines
Sync with head.
Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Apr 15 16:03:33 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +364 -0
lines
sync with head.
Revision 1.4.2.1
Sat Apr 14 19:56:05 2007 UTC (19 years, 7 months ago) by yamt
Branches: yamt-idlelwp
FILE REMOVED
Changes since revision 1.4: +0 -364
lines
file genfb.c was added on branch yamt-idlelwp on 2007-04-15 16:03:33 +0000
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Apr 14 19:56:05 2007 UTC (19 years, 7 months ago) by macallan
Branches: 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
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +21 -4
lines
add a callback to change the colour map
so now X with wsfb on top of genfb should look right
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Apr 11 04:47:09 2007 UTC (19 years, 7 months ago) by macallan
Branches: MAIN
CVS tags: thorpej-atomic-base,
thorpej-atomic
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +13 -5
lines
add WSDISPLAYIO_LINEBYTES support so we can run XFree86 with wsfb
Revision 1.2.2.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 13:24:53 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
Diff to: previous 1.2.2.1: preferred, colored
Changes since revision 1.2.2.1: +339 -0
lines
Sync with head.
Revision 1.2.2.1
Tue Apr 10 00:14:42 2007 UTC (19 years, 7 months ago) by ad
Branches: vmlocking
FILE REMOVED
Changes since revision 1.2: +0 -339
lines
file genfb.c was added on branch vmlocking on 2007-04-10 13:24:53 +0000
Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Apr 10 00:14:42 2007 UTC (19 years, 7 months ago) by macallan
Branches: MAIN
Branch point for: vmlocking
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +31 -52
lines
- move all memory mapping into the bus frontend
- get rid of macppc-isms like *_mmap() returning physical addresses
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Apr 7 03:41:26 2007 UTC (19 years, 7 months ago) by macallan
Branches: 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.
CVSweb <webmaster@jp.NetBSD.org>