summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/stivar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Work-in-progress support for non-accelerated X11 on *some* sti(4) frame buffers;miod2015-04-051-2/+17
| | | | | | | | | based upon the old HP ngle X11 driver. Currently limited to CRX (720/735/750), Timber (710, old 715), Artist (712, 715) and EG (B-series), however the colormap isn't set up correctly on Timber and EG yet. Joint work with Artem Falcon, now in good enough shape to be worked further in the tree.
* Split sti structures into rom-related information and screen-relatedmiod2009-02-061-64/+82
| | | | | | | | | | | information. This is preliminary work to help eventually supporting the dual-head ELK model. Also split the initialization code in several routines, this makes the code easier to read, and makes it easier to release resources upon failure. Finally, don't forget to clear the text planes on non-console displays when initializing.
* Keep the wsscreen_descr in the softc, to allow sti of different textmiod2007-01-121-1/+6
| | | | resolutions to attach without disturbing each other.
* Add the ability for a sti backend to specify callbacks to disable and enablemiod2007-01-111-1/+9
| | | | | | | | access to the sti rom, as this seems to be necessary for sti@pci; hide this with macros so that platforms which do not have pci support (i.e. hp300) do not get bloated from this. ok mickey@
* Allow sti_attach_common() to return an error code, and do not fall intomiod2007-01-111-2/+2
| | | | | | sti_end_attach() if an error has occured. ok mickey@
* Change sti attachment to pass an array of base addresses for the sti regions,miod2006-12-181-4/+5
| | | | | | | | instead of using the rom mapping for region #0 and the device mapping for region #1. This will allow sti devices on which regions may be relative to different origins to attach (to be used very soon). ok mickey@
* Clear sti display on console attach, now that the bootloader leaves usmiod2006-08-221-1/+2
| | | | with scribbles around; ok mickey@
* Introduce sti_rom_size() which will compute the size of a card's rom, andmiod2006-04-161-1/+2
| | | | | | use it instead of duplicating the same logic in 3 places. ok mickey@
* Split sti softc in two structures, one device-related for regular devicemiod2005-02-271-27/+45
| | | | | | | | | | | attachment and interface, one screen-attached for the real work. The attachment code is now required to decide whether sti_end_attach() is run immediately, or as a startuphook. This allows hp300 to initialize sti early, and use it as a console; hppa is functionally unchanged, as it uses the PROM console until the root device is mounted.
* Two sti(4) changes necessary for hp300:miod2005-01-231-2/+2
| | | | | | | | - specify which microcode bank (pa or m68k) to use at attachment time. - compensate for broken 8.02 m68k code which reports wrong frame buffer offset. ok mickey@
* only map the rom and do not touch the hpa space getting rid of memsize define that was not really true; plus tested by otto@ and miod@mickey2003-12-161-2/+4
|
* give better depth and cmsizemickey2003-08-191-1/+2
|
* implement WSDISPLAYIO_{GET,PUT}CMAP; untestedmickey2003-08-191-1/+2
|
* implement WSDISPLAYIO_{S,G}MODEmickey2003-08-171-1/+2
|
* cleanupmickey2003-08-171-4/+2
|
* kill the caluses three and four on some of my codemickey2003-06-021-6/+1
|
* Whenever possible, store the prom font data in off-screen frame buffermiod2003-02-181-3/+6
| | | | | | | | | memory, and use block move operations in putchar, rather than keeping a copy of the prom font in memory and using memory to frame buffer transfers. Recommended by the sti docs. No visible performance improvement though. Tested on both kind of sti devices by mickey@ and myself.
* Byte-prom font loading support.miod2003-02-111-2/+3
| | | | ok mickey@
* Working wscons attachment and block move operations; joint debug by mickeymiod2003-01-311-1/+2
| | | | | and myself. wsdisplay at sti will be enabled as soon as byte-size rom font loading is done.
* fetch the font and use it, some cleanup and knfmickey2003-01-311-4/+3
|
* First round of __P removal in sysmillert2002-03-141-3/+3
|
* tell wsdisplay if we are a consolemickey2002-01-251-1/+2
|
* better default screen initmickey2001-03-201-4/+1
|
* no stidebugmickey2001-01-111-4/+5
|
* sti hp graphics, available in pci and hp-prop sgc bus form factors.mickey2000-05-301-0/+79
attach point for wsdisplay. a few problems may exist w/ certain prom versions. tested in byte- and word-wide modes. no support yet for multiple resolutions and fonts. pci not tested (obviously).