Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/hppa/dev/summitfb.c
RevisionDateAuthorComments
 1.34  28-Apr-2025  macallan branches: 1.34.4;
remove code to stash the console font in video memory - this was an experiment
based on guesswork which probably won't work if the card runs in anything
other than 1280x1024, and wasn't significantly faster than drawing characters
line by line using BINC writes.
 1.33  25-Feb-2025  macallan no need to set read mode when doing host-to-vram alpha blending
while there, remove some commented out debug goop
 1.32  21-Feb-2025  andvar s/zeeo/zero/ in comment.
 1.31  09-Feb-2025  skrll Trailing whitespace
 1.30  27-Jan-2025  macallan use hardware to draw anti-aliased characters
 1.29  26-Jan-2025  macallan some minor updates:
- clear image planes before they become visible when switching to fb mode
- adjust FIFO slots, now that we knw a bit more about how they work
 1.28  07-Jan-2025  riastradh hppa/summitfb(4): Nix trailing whitespace again.
 1.27  06-Jan-2025  macallan (ab)use the image buffer as glyph cache, since on this thing we can set source
and destination buffer independently
 1.26  03-Jan-2025  skrll Use KM_SLEEP in attach path code.
 1.25  30-Dec-2024  macallan reshuffle summitfb_setup():
- remove magic number inits that are no longer magic
- annotate the remaining inits if we know the register names
- zero the attribute plane
while there, cull excessive calls to summitfb_setup()
 1.24  28-Dec-2024  macallan clean up aroound sti_fetchfonts(), mke sure we call wsfont_init() nefore
trying to add s font to the system
while there, allow mmap()in the entire fb aperture, no sense in restricting it
 1.23  27-Dec-2024  skrll Oops. Turn off debug.
 1.22  27-Dec-2024  skrll KNF

Remove some unnecessary casts and parenthesis
 1.21  26-Dec-2024  riastradh hppa/summitfb(4): Nix trailing whitespace.

No functional change intended.
 1.20  26-Dec-2024  macallan now that we can do ROPs, use them and enable all the lazy cursor update stuff
 1.19  25-Dec-2024  macallan some updates:
- setup attributes for RGB8 in the image planes and 8I in the overlay
- explicitly select LUT 0 for the overlay so we don't depend on what STI sets
anymore - now this should work on all FX cards
- expose 24bit framebuffer to X
- make sure we switch overlay transparency according to WSDISPLAY_SMODE
- remove unnecessary register writes when accessing the colour map
- no need to call summitfb_setup_fb() in summitfb_do_cursot() - that was for
HCRX and friends
- support screen blanking
 1.18  18-Dec-2024  macallan set the right cursor sprite colours, now that we know how
 1.17  16-Dec-2024  macallan avoid console output between sti_init() and wsdisplay_cnattach()
 1.16  16-Dec-2024  macallan do not zero the cursor position register on each colour map access, instead
do it when initializing fb access
-> no more disappearing cursor sprite
 1.15  16-Dec-2024  macallan remove declaration of sti_unitoroman[] since it lives in stivar.h now
 1.14  10-Dec-2024  macallan some udates:
- fetch the ROM font, convert it to ISO and hand it to wsfont so we can mimic
firmware output should we feel like it
- set read mode to match write mode whenever we touch the latter
 1.13  07-Dec-2024  riastradh hppa/summitfb(4): Nix trailing whitespace again.
 1.12  06-Dec-2024  macallan add support for alpha fonts and glyph cache, disabled by default since there
is guesswork involved
also, store bitmap fonts in video memory, mostly to show how to change colours
around
 1.11  29-Nov-2024  riastradh hppa/summitfb(4): Nix trailing whitespace.

No functional change intended.
 1.10  28-Nov-2024  macallan reshuffle unknown register inits, move the ones identified
 1.9  27-Nov-2024  riastradh hppa/summitfb(4): Nix trailing whitespace.

Plus some other minor whitespace/comment cleanups.
 1.8  27-Nov-2024  macallan some cleanup & optimization:
- don't write the pixel mask register for operations that don't use it
- track write mode, only wait if we change it
- always sync when switching in and out of fb mode ( for X... )
- drop sc_hwmode
... about 10% speedup and no more glitches when starting X
 1.7  26-Nov-2024  macallan make sure we apply the pixel mask when drawing characters so we don't scribble
outside the character cell
 1.6  26-Nov-2024  macallan now that we know how, use the blitter to:
- draw characters
- scroll
- rectangle fills
no ROP support yet, so the cursor is drawn using putchar
while there get rid of some unused cargo-culted goop from gftfb
MUCH faster now

CV: ----------------------------------------------------------------------
 1.5  20-Nov-2024  macallan use summitreg.h
 1.4  19-Nov-2024  macallan add hardware cursor support
while there remove debug goop, fix ioctl(GCID)
 1.3  19-Nov-2024  riastradh hppa/summitfb(4): Fix SUMMITFB_DEBUG build.
 1.2  19-Nov-2024  riastradh hppa/summitfb(4): KNF

No functional change intended.
 1.1  19-Nov-2024  macallan beginnings of a driver for Visualize FX graphics cards
So far it does:
- work on my FX4
- use the 8bit overlay, in R3G3B2
- all drawing by software, clear screen by hw
- X works in 8bit with wsfb
 1.34.4.2  02-Aug-2025  perseant Sync with HEAD
 1.34.4.1  28-Apr-2025  perseant file summitfb.c was added on branch perseant-exfatfs on 2025-08-02 05:55:42 +0000

RSS XML Feed