History log of /src/sys/dev/hpc/hpcfb.c |
Revision | | Date | Author | Comments |
1.66 |
| 29-Feb-2024 |
andvar | s/hpcfb_refres_screen/hpcfb_refresh_screen/ in debug message.
|
1.65 |
| 19-Dec-2021 |
andvar | s/forground/foreground/ in comments.
|
1.64 |
| 18-Sep-2021 |
tsutsui | Remove unnecessary (and unimplemented) WSKBD_*BELL ioctls in kbd drivers.
It looks the only ioctl(4) to be implemented for WSKBDIO_*BELL in the backend keyboard driver is WSKBDIO_COMPLEXBELL. All other BELL ioctls (WSKBDIO_BELL, WSKBDIO_SETBELL, WSKBDIO_GETBELL, WSKBDIO_SETDEFAULTBELL, and WSKBDIO_GETDEFAULTBELL) are handled in the MI wskbd driver (in wskbd_displayioctl() in src/sys/dev/wscons/wskbd.c).
|
1.63 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.62 |
| 05-Jun-2021 |
rin | branches: 1.62.2; hpcfb_cnattach(): If fbconf == NULL, this is for early console output (used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be used instead of wsdisplay_cnattach().
Fix KASSERT failure for double attach of wsdisplay, reported in port-mips.
|
1.61 |
| 24-Apr-2021 |
thorpej | branches: 1.61.2; 1.61.6; 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?).
|
1.60 |
| 07-Apr-2015 |
ozaki-r | branches: 1.60.34; Add missing semicolon
|
1.59 |
| 04-Apr-2015 |
christos | fix leak, found by Brainy.
|
1.58 |
| 13-Nov-2010 |
uebayasi | branches: 1.58.18; 1.58.34; 1.58.36; Don't pull in the whole uvm(9) API to access only PAGE_SIZE and some other constants. These are provided by sys/param.h now.
|
1.57 |
| 01-Aug-2010 |
tsutsui | Remove deprecated powerhook_establish(9) since apmdev(4) which required the old API was gone.
|
1.56 |
| 18-Jun-2010 |
tsutsui | Add WSDISPLAYIO_LINEBYTES, which is required by Xorg wsfb server.
|
1.55 |
| 15-May-2010 |
tsutsui | Clear RI_NO_AUTO in actual attach functions during autoconf(9) for console devices that set the flag during consinit().
|
1.54 |
| 15-May-2010 |
tsutsui | Set RI_NO_AUTO in ri->ri_flg if hpcfb_init() is invoked from cnattach. Fixes silent hang on hpcsh and hpcmips.
XXX: all other rasops based console devices need to set this flag??
|
1.53 |
| 24-Feb-2010 |
dyoung | branches: 1.53.2; A pointer typedef entails trading too much flexibility to declare const and non-const types, and the kernel uses both const and non-const PMF qualifiers and device suspensors, so change the pmf_qual_t and device_suspensor_t typedefs from "pointers to const" to non-pointer, non-const types.
|
1.52 |
| 08-Jan-2010 |
dyoung | branches: 1.52.2; Expand PMF_FN_* macros.
|
1.51 |
| 23-Nov-2009 |
rmind | Remove some unecessary includes sys/user.h header.
|
1.50 |
| 05-Apr-2009 |
uwe | Register with pmf(9). Thus we register with both dopowerhooks(9) and pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)).
Express pmf(9) hooks in terms of dopowerhooks(9) hook - the reverse would be more natural, but pmf hook signature is hidden behind PMF_FN_ARGS/PMF_FN_CALL, so just go the least intrusive way for now.
|
1.49 |
| 05-Apr-2009 |
uwe | Split device_t and softc.
|
1.48 |
| 14-Mar-2009 |
dsl | 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.
|
1.47 |
| 06-Apr-2008 |
cegger | branches: 1.47.4; 1.47.12; 1.47.18; use aprint_*_dev and device_xname
|
1.46 |
| 30-Jan-2008 |
ad | branches: 1.46.6; Has this compiled recently?
|
1.45 |
| 04-Jan-2008 |
ad | Start detangling lock.h from intr.h. This is likely to cause short term breakage, but the mess of dependencies has been regularly breaking the build recently anyhow.
|
1.44 |
| 29-Oct-2007 |
peter | branches: 1.44.2; 1.44.8; wsdisplay has been converted to device_t/softc separation so we can't cast the wsdisplay device to the wsdisplay_softc anymore. Use device_private() instead to get the softc.
|
1.43 |
| 19-Oct-2007 |
ad | machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.42 |
| 09-Jul-2007 |
ad | branches: 1.42.6; 1.42.8; 1.42.12; Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes - select()/poll() improvements - miscellaneous MT safety improvements
|
1.41 |
| 04-Mar-2007 |
christos | branches: 1.41.2; 1.41.4; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.40 |
| 16-Nov-2006 |
christos | branches: 1.40.4; __unused removal on arguments; approved by core.
|
1.39 |
| 12-Oct-2006 |
uwe | -Wextra fixes
|
1.38 |
| 09-Oct-2006 |
peter | Remove (the default) #define XXXDEBUG and add the options to the relevant files.xxx file.
|
1.37 |
| 24-Sep-2006 |
jmcneill | Add "name" parameter to powerhook_establish, to aid debugging. No objections on tech-kern@
|
1.36 |
| 12-Apr-2006 |
jmmv | branches: 1.36.8; 1.36.10; Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
|
1.35 |
| 29-Mar-2006 |
thorpej | Use device_private().
|
1.34 |
| 11-Dec-2005 |
christos | branches: 1.34.4; 1.34.6; 1.34.8; 1.34.10; 1.34.12; merge ktrace-lwp.
|
1.33 |
| 04-Sep-2005 |
uwe | For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positions from hf_rgb to rasops_info.
|
1.32 |
| 22-May-2005 |
christos | branches: 1.32.2; No 0x in front of %p...
|
1.31 |
| 27-Feb-2005 |
perry | branches: 1.31.2; nuke trailing whitespace
|
1.30 |
| 29-Jun-2003 |
fvdl | branches: 1.30.2; 1.30.10; 1.30.12; Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
1.29 |
| 29-Jun-2003 |
ichiro | struct proc * -> struct lwp *
|
1.28 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() in cfprint routines.
|
1.27 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.26 |
| 02-Oct-2002 |
reinoud | G/c static pow() function that was used to calculate (2^x) only; replaced the two instances with equivalent (1<<x).
|
1.25 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.24 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.23 |
| 25-Sep-2002 |
thorpej | Don't include <sys/map.h>.
|
1.22 |
| 01-Sep-2002 |
takemura | BUGFIX: WSDISPLAYIO_SVIDEO and WSDISPLAYIO_GVIDEO don't work.
|
1.21 |
| 04-Jul-2002 |
junyoung | alloc_attr -> allocattr
Approved by Matthias Drochner.
|
1.20 |
| 10-May-2002 |
uwe | branches: 1.20.2; 1.20.4; Use symbolic WSCOL_* colour names instead of magic numbers.
|
1.19 |
| 13-Apr-2002 |
takemura | Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c and backout changes 'fix LCD byte-order setting': arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8 arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24 arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25
|
1.18 |
| 17-Mar-2002 |
atatat | Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for indicating an unhandled "command". ERESTART is -1, which can lead to confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been placed at -4. No ioctl code should now return -1 anywhere. The ioctl() system call is now properly restartable.
|
1.17 |
| 27-Jan-2002 |
takemura | Do nothing if there is no screen.
|
1.16 |
| 12-Jan-2002 |
tsutsui | Call malloc(9) with M_ZERO flag instead of memset() after malloc().
|
1.15 |
| 13-Nov-2001 |
lukem | add RCSID
|
1.14 |
| 15-Aug-2001 |
uch | fix hf_order_flags.
|
1.13 |
| 02-Aug-2001 |
toshii | Check if sc->sc_dc is NULL, so that non-console hpcfb can attach without a panic.
|
1.12 |
| 31-Jul-2001 |
sato | Abort redrawing when screen switch was requested. Set virtual text vram when other one is drawing framebuffer.
|
1.11 |
| 22-Jul-2001 |
takemura | You must set 'HPCFB_SWAP_*' if bytes are stored in reverse order, i.e. little endian like order, however, usage of 'HPCFB_SWAP_*' was widely misunderstood because it reminded you of 'RI_BSWAP' in raster operation. Please note that 'RI_BSWAP' indicate that frame buffer byte order is different from natural order of system while 'HPCFB_REVORDER_*' is independent of system byte order.
|
1.10 |
| 21-Jul-2001 |
takemura | - delete sc->sc_screens[] - BUGFIX: hpcfb_alloc_screen clears real frame buffer - Doesn't allocate any screen in attach routine
|
1.9 |
| 17-Jul-2001 |
toshii | "infomation" -> "information"
|
1.8 |
| 13-Jul-2001 |
sato | disable framebuffer drawing while suspending.
|
1.7 |
| 07-Jul-2001 |
toshii | branches: 1.7.2; bcopy -> memcpy, bzero -> memset.
|
1.6 |
| 22-Jun-2001 |
toshii | Don't include <machine/autoconf.h>, which should not be necessary. Moreover, hpcarm doesn't have such a header file.
|
1.5 |
| 05-Jun-2001 |
uch | implement HPCFB_SWAP_BYTE.
|
1.4 |
| 04-Jun-2001 |
uch | ANSI KNF.
|
1.3 |
| 08-May-2001 |
uch | fix RCS Id.
|
1.2 |
| 17-Mar-2001 |
sato | * enable HPCFB_MULTI codes. * delete unneed non HPCFB_MULTI codes.
|
1.1 |
| 22-Feb-2001 |
uch | branches: 1.1.2; 1.1.4; hpc common files are moved to dev/hpc.
|
1.1.4.3 |
| 27-Mar-2001 |
bouyer | Sync with HEAD.
|
1.1.4.2 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.1.4.1 |
| 22-Feb-2001 |
bouyer | file hpcfb.c was added on branch thorpej_scsipi on 2001-03-12 13:30:05 +0000
|
1.1.2.12 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.1.2.11 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.2.10 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.1.2.9 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.1.2.8 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.1.2.7 |
| 17-Apr-2002 |
nathanw | Catch up to -current.
|
1.1.2.6 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.1.2.5 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.1.2.4 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.1.2.3 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.1.2.2 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.1.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.7.2.7 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.7.2.6 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.7.2.5 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.7.2.4 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.7.2.3 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.7.2.2 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.7.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.20.4.1 |
| 30-Nov-2002 |
he | Pull up revision 1.22 (requested by takemura in ticket #754): Make WSDISPLAYIO_SVIDEO and WSDISPLAYIO_GVIDEO work.
|
1.20.2.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.30.12.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.30.10.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.30.2.3 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.30.2.2 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.30.2.1 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
1.31.2.1 |
| 15-Sep-2005 |
tron | Pull up following revision(s) (requested by uwe in ticket #781): sys/dev/hpc/hpcfb.c: revision 1.33 For HPCFB_CLASS_RGBCOLOR class propagate r/g/b widths and positions from hf_rgb to rasops_info.
|
1.32.2.7 |
| 04-Feb-2008 |
yamt | sync with head.
|
1.32.2.6 |
| 21-Jan-2008 |
yamt | sync with head
|
1.32.2.5 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.32.2.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.32.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.32.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.32.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.34.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.34.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.34.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.34.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.34.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.34.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.34.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.36.10.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.36.10.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.36.8.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.40.4.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.41.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.41.2.3 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.41.2.2 |
| 01-Jul-2007 |
ad | Adapt to callout API change.
|
1.41.2.1 |
| 13-May-2007 |
ad | - Pass the error number and residual count to biodone(), and let it handle setting error indicators. Prepare to eliminate B_ERROR. - Add a flag argument to brelse() to be set into the buf's flags, instead of doing it directly. Typically used to set B_INVAL. - Add a "struct cpu_info *" argument to kthread_create(), to be used to create bound threads. Change "bool mpsafe" to "int flags". - Allow exit of LWPs in the IDL state when (l != curlwp). - More locking fixes & conversion to the new API.
|
1.42.12.2 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.42.12.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.42.8.3 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.42.8.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.42.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.42.6.2 |
| 31-Oct-2007 |
joerg | Sync with HEAD.
|
1.42.6.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.44.8.1 |
| 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.44.2.1 |
| 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.46.6.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.47.18.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.47.12.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.47.4.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.47.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.47.4.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.52.2.2 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.52.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.53.2.3 |
| 05-Mar-2011 |
rmind | sync with head
|
1.53.2.2 |
| 03-Jul-2010 |
rmind | sync with head
|
1.53.2.1 |
| 30-May-2010 |
rmind | sync with head
|
1.58.36.2 |
| 06-Jun-2015 |
skrll | Sync with HEAD
|
1.58.36.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.58.34.2 |
| 18-May-2015 |
msaitoh | Add missing semicolon. Fix build break in last commit.
|
1.58.34.1 |
| 16-May-2015 |
snj | Pull up following revision(s) (requested by maxv in ticket #761): sys/arch/sgimips/dev/scn.c: revision 1.8 sys/arch/sgimips/mace/macekbc.c: revision 1.8 sys/dev/hpc/hpcfb.c: revision 1.59 sys/dev/i2c/i2c.c: revision 1.47 sys/dev/ic/mfi.c: revision 1.57 sys/dev/if_ndis/if_ndis_pci.c: revision 1.21 sys/dev/sysmon/sysmon_power.c: revisions 1.50-1.52 sys/dev/usb/umass_isdata.c: revision 1.31 fix double free, found by Brainy. -- Free cmd on error if we allocated it. Found by Brainy, reported by maxv@. -- don't leak rl (but there are other leaks), found by Brainy. -- Free ped if we can't hand it to the power daemon. Found by Brainy, reported by maxv@. -- don't forget to free the dictionary. -- another missing free dict. -- fix leak, found by Brainy. -- don't malloc a tiny, fixed size buffer to scribble into, then not use it and never free it either found by Brainy -- malloc() -> kmem_alloc() for private data, also kmem_free() them if we don't finish attaching for whatever reason found by Brainy
|
1.58.18.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.60.34.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.61.6.1 |
| 06-Jun-2021 |
cjep | sync with head
|
1.61.2.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|
1.62.2.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|