| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | change wsdisplay attribute type from long to uint32_t | 2020-05-25 | 1 | -6/+6 | |
| | | | | | | | | | miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. suggested and reviewed by miod@ | ||||
| * | rename wsdisplay alloc_attr() to pack_attr() | 2020-05-25 | 1 | -2/+2 | |
| | | | | | | | | | Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. ok mpi@ | ||||
| * | If you use sys/param.h, you don't need sys/types.h | 2017-09-08 | 1 | -2/+1 | |
| | | |||||
| * | Replace mountroothook_establish(9) by config_mountroot(9) a narrower API | 2015-12-11 | 1 | -6/+6 | |
| | | | | | | | similar to config_defer(9). ok mikeb@, deraadt@ | ||||
| * | Print frame buffer resolution at attach time. | 2015-01-26 | 1 | -2/+4 | |
| | | |||||
| * | add a size argument to free. will be used soon, but for now default to 0. | 2014-07-12 | 1 | -3/+3 | |
| | | | | | after discussions with beck deraadt kettenis. | ||||
| * | It's been a quarter century: we can assume volatile is present with that name. | 2014-03-29 | 1 | -2/+2 | |
| | | | | | ok dlg@ mpi@ deraadt@ | ||||
| * | Use C99 named initializers for struct wsdisplay_accessops fields. | 2013-10-20 | 1 | -10/+3 | |
| | | | | | No functional change. | ||||
| * | - use nitems() inside a descriptive macro name | 2009-12-16 | 1 | -2/+2 | |
| | | | | | ok kettenis@ | ||||
| * | no firmware on ramdisks; ok kettenis | 2009-12-02 | 1 | -1/+7 | |
| | | |||||
| * | Load firmware that is needed for accelerated X on Elite3D boards. | 2009-11-30 | 1 | -2/+140 | |
| | | | | | The firmware is loaded from /etc/firmware/afb, which will be provided soon. | ||||
| * | Change the wsdisplay_emulops return types from void to int; emulops will now | 2009-09-05 | 1 | -12/+18 | |
| | | | | | | | return zero on success and nonzero on failure. This commit only performs mechanical changes for the existing emulops to always return zero. | ||||
| * | Clean up after X. | 2009-07-16 | 1 | -1/+14 | |
| | | | | | help & ok miod@ | ||||
| * | Sync the sparc64 fb* api with the recent changes done on sparc. | 2008-12-27 | 1 | -56/+7 | |
| | | |||||
| * | Implement WSDISPLAYIO_GETSUPPORTEDDEPTH; makes X actually work if you follow | 2007-03-06 | 1 | -1/+4 | |
| | | | | | the instructions in /usr/X11R6/README. | ||||
| * | Remove unnecessary <dev/wscons/wscons_raster.h> inclusion. | 2006-12-17 | 1 | -2/+1 | |
| | | |||||
| * | Use the unpack_attr emulops instead of doing an inline rasops_unpack_attr. | 2006-12-02 | 1 | -3/+7 | |
| | | |||||
| * | For 32bit sun frame buffers, tweak ri_devcmap to get the BoW palette instead | 2006-06-30 | 1 | -2/+2 | |
| | | | | | | | | | of needing different WSCOL_{BLACK,WHITE} values than 8bit frame buffers. This allows us to not special case the alloc_attr() invocations depending on the color depth, and to make WSCOL_{BLACK,WHITE} constants again in the wsemul_sun land. | ||||
| * | Merge creator attachment code again, it turns out the upa/mainbus attachment | 2006-05-15 | 1 | -6/+77 | |
| | | | | | code split is not necessary after all; ok jason@ | ||||
| * | Off-by-ones in register comparisons. | 2005-04-05 | 1 | -2/+2 | |
| | | |||||
| * | Take care of updating the PROMs view of the cursor position in the common fb | 2005-03-15 | 1 | -15/+1 | |
| | | | | | code, rather than doing this in only a subset of the fb drivers. | ||||
| * | Do not bother passing the blanking routine to fbwscons_console_init(), | 2005-03-07 | 1 | -3/+2 | |
| | | | | | as fbwscons_attach() can find it on its own. | ||||
| * | Let wsdisplay drivers return zero for WSDISPLAYIO_[GS]VIDEO ioctls - most | 2005-01-05 | 1 | -1/+3 | |
| | | | | | | of the work is done in the upper layer, but they get to see the ioctl, so don't always return an error. | ||||
| * | Move the struct wsscreen_descr from a per-driver global to a per-instance | 2004-11-29 | 1 | -27/+3 | |
| | | | | | | | | | | | field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC). | ||||
| * | Revert the addition of the blanking code - it will corrupt displays after long | 2003-06-24 | 1 | -27/+3 | |
| | | | | | blanking periods... | ||||
| * | Remove some debugging cruft. | 2003-06-23 | 1 | -4/+2 | |
| | | |||||
| * | Screen blanker routine for Creator, adapted from the X11 sunffb driver code. | 2003-06-20 | 1 | -3/+27 | |
| | | | | | Tested by jason@ and I. | ||||
| * | Extend the sunfb structure to take care of the PROM cursor position | 2003-06-17 | 1 | -77/+34 | |
| | | | | | | pointers, and adapt creator to the fb api. ok jason@ | ||||
| * | nuke terms 3 & 4 | 2003-06-02 | 1 | -6/+1 | |
| | | |||||
| * | use new display types | 2003-05-12 | 1 | -2/+2 | |
| | | |||||
| * | - Add support for the *CURS* ioctls (requires mapping the DAC registers | 2003-03-27 | 1 | -16/+250 | |
| | | | | | | | | and tweaking appropriately) - add support for VADDR->PADDR mappings expected by the X server - fix attachment error handling (it depended on bus_space_vaddr() working for non-linear mappings). | ||||
| * | Register more wsscreen properties to take advantage of wsemul_sun changes. | 2002-09-10 | 1 | -1/+2 | |
| | | |||||
| * | Take advantage of rasops.updatecursor to keep the prom cursor up to date | 2002-08-19 | 1 | -9/+23 | |
| | | |||||
| * | allow cf_flags to determine whether console acceleration should be used (defaults to yes) | 2002-07-30 | 1 | -6/+9 | |
| | | |||||
| * | use ROP_OLD for VSCROLL, with this, vertical scroll (copyrows) works (and it's -fast-) | 2002-07-29 | 1 | -5/+5 | |
| | | |||||
| * | - cache the last value written to FBC_FG and avoid unnecessary fifo writes | 2002-07-29 | 1 | -16/+76 | |
| | | | | | | | - add a copyrows implementation based on the VSCROLL drawing operation. It draws a correctly sized rectangle, but I have no idea where the source data came from... so it's currently disabled =) | ||||
| * | more registers; jason@ ok. | 2002-07-28 | 1 | -2/+4 | |
| | | |||||
| * | fifo needs 6 entries before we feed it rectangle command | 2002-07-26 | 1 | -2/+2 | |
| | | |||||
| * | - add hardware support for eraserows and erasecols | 2002-07-26 | 1 | -2/+104 | |
| | | | | | | - also fix some register names and add yet more of them [one thing this chip isn't lacking is registers...] | ||||
| * | - remove duplicate defns | 2002-07-26 | 1 | -1/+36 | |
| | | | | | - start at some utility functions for the FBC handling | ||||
| * | Adapt the framebuffer code to the WSDISPLAY_TYPE constant changes, and | 2002-07-25 | 1 | -4/+11 | |
| | | | | | | | add the necessary magic for wsemul_sun color handling. Initially based on a patch from jason@, then some tinkering by me. | ||||
| * | split creator driver into bus specific and common code. | 2002-06-11 | 1 | -108/+13 | |
| | | | | | requested and ok by jason@ | ||||
| * | - use the 24 bits dumb frame buffer reg. instead of the 32 one, but return | 2002-06-03 | 1 | -14/+19 | |
| | | | | | | | | | 32 bpp to wsfb. - print the model; the board type is not useful. this enables video output in the U1/E and probably some other creator models. tested by jason@ and Daniel Zieber <dlz@astro.caltech.edu>; jason@ ok. | ||||
| * | Match on "SUNW,afb" as well, a guess to make Elite3D cards work and print | 2002-05-22 | 1 | -14/+20 | |
| | | | | | the board type for now as well; jason@ ok. | ||||
| * | - Allow matching of devices with fewer than 24 register sets | 2002-05-22 | 1 | -9/+12 | |
| | | | | | - set display type to be SUNFFB | ||||
| * | Copy only the register paddrs/lens that we have room for | 2002-05-22 | 1 | -2/+2 | |
| | | |||||
| * | Only map in DFB32 during attach, other stuff will be mapped by _mmap as | 2002-05-22 | 1 | -14/+14 | |
| | | | | | necessary. | ||||
| * | return mappings from DFB24 for DUMBFB mode mmap requests (this makes unaccelerated X on the creator work) | 2002-05-22 | 1 | -11/+27 | |
| | | |||||
| * | Remove some debugging code and generally clean things up. | 2002-05-21 | 1 | -12/+9 | |
| | | |||||
| * | Get the initial cursor position correct so we don't start back at 0,0 when | 2002-05-21 | 1 | -2/+11 | |
| | | | | | wsdisplay attaches. | ||||
