History log of /src/sys/dev/tc/sfbplus.c |
Revision | | Date | Author | Comments |
1.42 |
| 06-Dec-2021 |
abs | Add WSDISPLAYIO_GET_FBINFO support to sfbplus TURBOchannel framebuffer
Missed in previous change to cfb, mfb, sfb, tfb and xcfb
|
1.41 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.40 |
| 24-Apr-2021 |
thorpej | branches: 1.40.8; 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.39 |
| 10-Nov-2019 |
chs | branches: 1.39.10; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
1.38 |
| 24-Jan-2018 |
riastradh | branches: 1.38.4; Fix integer overflows noted by Silvio Cesare of InfoSect.
Someone^TM should name these idioms so we can eliminate this class of copypasta bug.
|
1.37 |
| 11-Jan-2012 |
macallan | adjust wsfont_find()
|
1.36 |
| 13-Nov-2010 |
uebayasi | branches: 1.36.8; 1.36.12; 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.35 |
| 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.34 |
| 15-May-2010 |
tsutsui | Set RI_NO_AUTO in ri_flg if *fb_common_init() is invoked from cnattach. Untested.
|
1.33 |
| 22-Aug-2009 |
tsutsui | branches: 1.33.2; 1.33.4; u_intNN_t -> uintNN_t
|
1.32 |
| 22-Aug-2009 |
tsutsui | MALLOC() -> malloc()
|
1.31 |
| 09-Jul-2008 |
joerg | - device/softc split - make sfbplus at least compilable
|
1.30 |
| 26-May-2008 |
nisimura | branches: 1.30.2; 1.30.4; - assign 2 clause TNF license to the files cited as my ownership. - abandon and remove my copyright notice from the three files were copied in order to adapt HW I don't have; pvr.c, pm.c and stic.c
|
1.29 |
| 19-Oct-2007 |
ad | branches: 1.29.16; 1.29.18; 1.29.20; 1.29.22; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.28 |
| 05-Mar-2007 |
dogcow | branches: 1.28.2; 1.28.14; 1.28.16; 1.28.20; semimechanically convert 'void foo' -> 'void *foo', as part of the continuing caddr_t fallout.
|
1.27 |
| 04-Mar-2007 |
christos | Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.26 |
| 12-Apr-2006 |
jmmv | branches: 1.26.14; 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.25 |
| 31-Mar-2006 |
thorpej | Use ANSI function decls, apply static.
|
1.24 |
| 30-Mar-2006 |
thorpej | Use device_private().
|
1.23 |
| 11-Dec-2005 |
christos | branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12; merge ktrace-lwp.
|
1.22 |
| 27-Feb-2005 |
perry | branches: 1.22.4; nuke trailing whitespace
|
1.21 |
| 04-Feb-2005 |
perry | de-__P
|
1.20 |
| 17-Dec-2003 |
ad | branches: 1.20.8; 1.20.10; - Restore the display to a sane state when leaving mapped mode. - OR updates into sc_changed, and protect with spltty()/splx().
|
1.19 |
| 13-Nov-2003 |
chs | eliminate uvm_useracc() in favor of checking the return value of copyin() or copyout().
uvm_useracc() tells us whether the mapping permissions allow access to the desired part of an address space, and many callers assume that this is the same as knowing whether an attempt to access that part of the address space will succeed. however, access to user space can fail for reasons other than insufficient permission, most notably that paging in any non-resident data can fail due to i/o errors. most of the callers of uvm_useracc() make the above incorrect assumption. the rest are all misguided optimizations, which optimize for the case where an operation will fail. we'd rather optimize for operations succeeding, in which case we should just attempt the access and handle failures due to insufficient permissions the same way we handle i/o errors. since there appear to be no good uses of uvm_useracc(), we'll just remove it.
|
1.18 |
| 02-Oct-2002 |
thorpej | branches: 1.18.6; Add trailing ; to CFATTACH_DECL.
|
1.17 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.16 |
| 19-Aug-2002 |
itohy | Leaving overflow-sensitive code, very similar to what was fixed in the previous changes to cfb.c / sfb.c / xcfb.c, would not be clever. Just modify in the similar way.
|
1.15 |
| 04-Jul-2002 |
junyoung | alloc_attr -> allocattr
Approved by Matthias Drochner.
|
1.14 |
| 17-Mar-2002 |
atatat | branches: 1.14.4; 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.13 |
| 13-Mar-2002 |
ad | Reorganise the wsfont stuff slightly so that multiple display adapters with different bit/byte order requirements can co-exist happily.
|
1.12 |
| 13-Nov-2001 |
lukem | add/cleanup RCSIDs
|
1.11 |
| 22-Aug-2001 |
nisimura | Nuke fb_devconfig data structure which was found unnecessary to have.
|
1.10 |
| 05-Aug-2001 |
jdolecek | use unsigned variable types as appropriate
|
1.9 |
| 27-Feb-2001 |
nisimura | branches: 1.9.2; 1.9.4; Change to exclude TC identification string PMAGD-AA because 8bpp can not be handled with current implementation. sfbplus.c should be capable of doing the right things for multiple depths by ultilizing SFB+ design.
|
1.8 |
| 17-Jan-2001 |
nisimura | managed to make this useful enough for screen editor. - video base register value brings different scanline starting address of framebuffer depending on VRAM chip column size. many other issues left unsolved. - text rendered in incorrect colours. - acceleration codes should be reimplemented from scratch.
|
1.7 |
| 16-Jan-2001 |
nisimura | - make this more senseful 32bpp TC framebuffer. This is far less broken than the preivous code. It can show readable characters on screen. Tested only with 32bpp model of PMAGD opion card. Need more work for 8bpp. - 2D accelleration will be revamped to ultilize SFBplus features. - there seems much mulfunctionness in 32bpp codes of /sys/dev/rasops/. Need to rectify every corners.
|
1.6 |
| 09-Sep-2000 |
nisimura | branches: 1.6.2; Use dev/{rasops,wsfont} instead of awesome dev/rcons. Still much to do before being useful.
|
1.5 |
| 28-Jun-2000 |
mrg | remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
1.4 |
| 26-Jun-2000 |
simonb | Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
|
1.3 |
| 15-Dec-1999 |
ad | branches: 1.3.2; 1.3.6; - Change prefix for Bt459 register defs to BT459_IREG to indicate that these are indirectly accessed registers. - Add defs for directly accessed registers to bt459reg.h.
|
1.2 |
| 06-Dec-1999 |
drochner | update for changed struct wsdisplay_accessops:show_screen signature. no functional changes
|
1.1 |
| 03-Dec-1999 |
nisimura | The first order approximation of PMAGD SFB+ framebuffer. Proven not working with 32bit PMAGD TURBOchannel option card (I got rainbow colour virtical stripes on screen).
|
1.3.6.2 |
| 16-Aug-2001 |
tv | Pullup [jdolecek]:
sys/arch/amiga/dev/grf_cl.c 1.26 sys/arch/amiga/dev/grfioctl.h 1.14 sys/arch/hpcmips/dev/plumvideo.c 1.20 sys/arch/macppc/dev/ofb.c 1.25 sys/arch/sparc/dev/cgtwo.c 1.35 sys/arch/sparc/include/fbio.h patch sys/arch/sparc64/include/fbio.h patch sys/arch/sun3/dev/cg2.c 1.14 sys/arch/sun3/include/fbio.h patch sys/dev/pci/tga.c 1.35 sys/dev/tc/cfb.c 1.28 sys/dev/tc/mfb.c 1.27 sys/dev/tc/sfb.c 1.46 sys/dev/tc/sfbplus.c 1.10 via patch sys/dev/tc/tfb.c 1.30 sys/dev/tc/xcfb.c 1.23 sys/net/if_ppp.c 1.71
Use unsigned variable types to make bounds checking more correct.
|
1.3.6.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
1.3.2.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.6.2.4 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.6.2.3 |
| 18-Jan-2001 |
bouyer | Sync with head (for UBC+NFS fixes, mostly).
|
1.6.2.2 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.6.2.1 |
| 09-Sep-2000 |
bouyer | file sfbplus.c was added on branch thorpej_scsipi on 2000-11-20 11:43:15 +0000
|
1.9.4.6 |
| 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.9.4.5 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.9.4.4 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.9.4.3 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.9.4.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.9.4.1 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.9.2.7 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.9.2.6 |
| 27-Aug-2002 |
nathanw | Catch up to -current.
|
1.9.2.5 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.9.2.4 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.9.2.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.9.2.2 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.9.2.1 |
| 24-Aug-2001 |
nathanw | Catch up with -current.
|
1.14.4.2 |
| 29-Aug-2002 |
gehenna | catch up with -current.
|
1.14.4.1 |
| 15-Jul-2002 |
gehenna | catch up with -current.
|
1.18.6.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.18.6.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.18.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.18.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.18.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.20.10.2 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.20.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.20.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.22.4.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.22.4.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.22.4.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.23.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.23.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.23.10.1 |
| 19-Apr-2006 |
elad | sync with head.
|
1.23.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.23.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.23.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.23.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.26.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.28.20.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.28.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.28.14.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.28.2.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.29.22.2 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.29.22.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.29.20.3 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.29.20.2 |
| 16-Sep-2009 |
yamt | sync with head
|
1.29.20.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.29.18.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.29.16.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.29.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.30.4.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.30.2.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.33.4.2 |
| 05-Mar-2011 |
rmind | sync with head
|
1.33.4.1 |
| 30-May-2010 |
rmind | sync with head
|
1.33.2.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.36.12.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.36.8.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.38.4.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.39.10.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.40.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|