#
806654ca |
| 15-Jan-2023 |
tsutsui <tsutsui@NetBSD.org> |
TAB/space/indent cleanup.
|
#
02bddf7d |
| 03-Oct-2022 |
tsutsui <tsutsui@NetBSD.org> |
Remove global hwplanecount and use ri_depth in struct rasops instead.
No functional change.
|
#
bf021ed2 |
| 01-Oct-2022 |
tsutsui <tsutsui@NetBSD.org> |
Explicitly limit a number of rasops rows per size of rowattr[].
|
#
6794cb3a |
| 25-Sep-2022 |
isaki <isaki@NetBSD.org> |
lunafb: Improve drawing performance using VRAM ROP features. - Drawing a character on 4bpp normally needs 4 times writes, but by using VRAM ROP actively, it can be reduced to write only once. The
lunafb: Improve drawing performance using VRAM ROP features. - Drawing a character on 4bpp normally needs 4 times writes, but by using VRAM ROP actively, it can be reduced to write only once. The same goes for copyrows. If the whole row consists of only two colors (one foreground and one background), it can be copied by reading once and writing once, regardless of the number of planes. Only if the row consists of more than two colors, it will be copied plane by plane. - On 8bpp board, it acts as 4bpp (16 colors). - On 4bpp board on the real LUNA-I(68030/20MHz), monochrome scroll is about 4 times faster even without asm. Using asm improves it by additional 5% (asm is enabled by default). - By tsutsui@-san's report, even color scroll is about about 2 times faster on his 8bpp board on the real LUNA-II(68040). This was first developped by Y.Sugahara back in late 2019, and was modified a lot by me in 2022. http://mail-index.netbsd.org/port-luna68k/2022/09/23/msg000072.html
show more ...
|
#
d006c8b2 |
| 25-Sep-2022 |
isaki <isaki@NetBSD.org> |
Cosmetic changes. Fix a typo in comment.
|
#
be9b906a |
| 31-Jul-2019 |
rin <rin@NetBSD.org> |
G/C ri_delta.
XXX Bump kernel version after other changes for struct rasops_info.
|
#
c626b393 |
| 06-Jun-2018 |
maya <maya@NetBSD.org> |
Remove duplicate ;
|
#
dd56f03d |
| 04-Oct-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull LUNA's framebuffer improvements by Kenji Aoyama from OpenBSD/luna88k.
http://marc.info/?l=openbsd-cvs&m=141199909120631&w=2 >> Use raster(logic) operation, or ROP, function on LUNA frame buffer
Pull LUNA's framebuffer improvements by Kenji Aoyama from OpenBSD/luna88k.
http://marc.info/?l=openbsd-cvs&m=141199909120631&w=2 >> Use raster(logic) operation, or ROP, function on LUNA frame buffer. >> It makes 4bpp wscons putchar ~20% faster.
This Makes 4bpp wscons putchar ~30% on LUNA-II.
Also use the similar ROP in 1bpp putchar and cursor functions and the 1bpp putchar is also ~5% faster. While here, reduce diffs from OpenBSD a bit.
Tested on all 1bpp/4bpp/8bpp framebuffers.
show more ...
|
#
48ba4b7a |
| 28-Sep-2014 |
tsutsui <tsutsui@NetBSD.org> |
Put dumb optimizations to avoid conditionals in putchar drawing loops.
~10% improvements of time cat results on LUNA-II 8bpp framebuffer.
|
#
9b9063ee |
| 28-Sep-2014 |
tsutsui <tsutsui@NetBSD.org> |
Pull readability changes from OpenBSD/luna88k.
- prepare and use unpack_attr() function to get fg and bg from attribute - use proper variable names to clarify meanings
Tested on LUNA-II with 8bpp f
Pull readability changes from OpenBSD/luna88k.
- prepare and use unpack_attr() function to get fg and bg from attribute - use proper variable names to clarify meanings
Tested on LUNA-II with 8bpp framebuffer.
show more ...
|
#
cbf04f2b |
| 28-Dec-2013 |
tsutsui <tsutsui@NetBSD.org> |
Add preleminary support of 4bpp LUNA framebuffer.
Changes details: - prepare and switch 4bpp rasops functions that read/write all 4 planes and also handle both fg and bg colors - make 1bpp ops use
Add preleminary support of 4bpp LUNA framebuffer.
Changes details: - prepare and switch 4bpp rasops functions that read/write all 4 planes and also handle both fg and bg colors - make 1bpp ops use first plane on write rather than common bitmap plane (which is prepared for multiple plane write with raster ops) - prepare 4bpp allocattr function to handle ANSI 16 color text - split omrasops_init() function for each bpp - move struct hwcmap from softc to hwdevconfig to sync palette values on initialization - allow mmap(2) against all available planes
Now we can use ANSI 16 color text console and also can demonstrate mlterm-fb with color sixel graphics and wallpaper. XXX: Xserver needs much more work.
show more ...
|
#
d3fe02ad |
| 14-Dec-2013 |
tsutsui <tsutsui@NetBSD.org> |
Make omrasops copycols() op work even if columns are not 32 bit aligned.
This means command line editing works properly in any cases.
The bitcopy strategies for 1bpp copycols() op are taken from re
Make omrasops copycols() op work even if columns are not 32 bit aligned.
This means command line editing works properly in any cases.
The bitcopy strategies for 1bpp copycols() op are taken from recently fixed MI sys/dev/rasops/rasops_bitops.h. GETBITS() and PUTBITS() m68k asm macro are taken from hp300.
Tested on both 1bpp (on LUNA-II) and 4bpp (on LUNA) framebuffers.
show more ...
|
#
639e04fb |
| 02-Dec-2013 |
tsutsui <tsutsui@NetBSD.org> |
Fix off by one in copyrows() backward case.
|
#
13d6ee17 |
| 20-Jul-2012 |
tsutsui <tsutsui@NetBSD.org> |
Switch luna68k wscons framebuffer driver to using rasops(9) APIs instead of deprecated rcons(4). This allows "options FONT_foo" in kernel config files. Mostly taken from OpenBSD/luna88k, but unneces
Switch luna68k wscons framebuffer driver to using rasops(9) APIs instead of deprecated rcons(4). This allows "options FONT_foo" in kernel config files. Mostly taken from OpenBSD/luna88k, but unnecessary MI rasops(9) stuff is omitted since omrasops.c has own raster wsdisplay_emulops functions. Tested on LUNA with 4bpp fb and LUNA-II with 1bpp fb.
show more ...
|
#
6fe81671 |
| 16-Jul-2012 |
tsutsui <tsutsui@NetBSD.org> |
Fix typo in comment. From OpenBSD/luna88k.
|
#
5e986cc1 |
| 27-Jul-2011 |
tsutsui <tsutsui@NetBSD.org> |
KNF, use uintNN_t, tab/space cosmetics etc.
|
#
c804b77e |
| 16-Jul-2011 |
tsutsui <tsutsui@NetBSD.org> |
Revive NetBSD/luna68k.
Even after almost a lost decade since NetBSD/luna68k was switched to using ELF format by default back in 2001, actually only one fix (bus.h) is required for a GENERIC kernel i
Revive NetBSD/luna68k.
Even after almost a lost decade since NetBSD/luna68k was switched to using ELF format by default back in 2001, actually only one fix (bus.h) is required for a GENERIC kernel itself to get multiuser login: prompt on a real hardware. Hurrahhh!!!
Demonstrated with a working Xorg mono server on the NetBSD booth at Open Source Conference 2011 Kansai @ Kyoto: http://www.ospn.jp/osc2011-kyoto/
"Very impressed," commented by Tomoko YOSHIDA, Program Committee Chair of the Conference, and some other OMRON guys.
Special Thanks to Tadashi Okamura, for providing a working SX-9100/DT "LUNA" for this mission.
Changes details:
sys/arch/luna68k/include/bus.h - handle stride properly even on multi and region ops for MI spc(4) - also fix stride handling of (currently unused) 2 and 4 byte ops
sys/arch/luna68k/conf/Makefile.luna68k sys/arch/luna68k/conf/kern.ldscript.head sys/arch/luna68k/conf/kern.ldscript.tail - build a faked a.out kernel using elf2aout(8) tool and a linker script derived from cats and shark for the LUNA firmware that loads a.out binary directly via network or from a UNIOS partition on a local disk
sys/arch/luna68k/dev/omrasops.c sys/arch/luna68k/dev/omron_rfont.h - use the original OMRON font derived from 4.4BSD-Lite/luna68k rather than gallant19 which is used on Sun workstations (XXX omrasops.c should be rewritten to use generic wsfont(4))
distrib/luna68k/* distrib/utils/sysinst/arch/luna68k/* etc/etc.luna68k/MAKEDEV.conf etc/etc.luna68k/Makefile.inc sys/arch/luna68k/conf/INSTALL - build a ramdisk based INSTALL kernel with sysinst(8) for luna68k - also build an installation iso image for luna68k
sys/arch/luna68k/conf/GENERIC - enable SYSVSHM (and other SYSV*) options for Xorg server
More Xorg changes (which need some more cleanup) and isiboot.c fixes will come soon.
show more ...
|
#
82357f6d |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
#
454af1c0 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle
Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
show more ...
|
#
02cdf4d2 |
| 14-Mar-2009 |
dsl <dsl@NetBSD.org> |
Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
6286e7e0 |
| 04-Mar-2007 |
tsutsui <tsutsui@NetBSD.org> |
Use (uint8_t *) for framebuffer address.
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
3d826105 |
| 04-Jul-2002 |
junyoung <junyoung@NetBSD.org> |
alloc_attr -> allocattr
Approved by Matthias Drochner.
|
#
34820075 |
| 30-May-2002 |
thorpej <thorpej@NetBSD.org> |
Statements must follow labels.
|