History log of /src/sys/arch/dreamcast/dev/pvr.c |
Revision | | Date | Author | Comments |
1.39 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.38 |
| 31-Jul-2021 |
andvar | branches: 1.38.2; fix more typos in style found one in file - check/fix them all.
|
1.37 |
| 24-Apr-2021 |
thorpej | branches: 1.37.2; 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.36 |
| 11-Mar-2016 |
tsutsui | branches: 1.36.32; Properly zero out struct fb_devconfig, including rasops_info.
Fix panic after wsconscfg(8) from serial console, caused by a junk function pointer.
|
1.35 |
| 26-Mar-2014 |
christos | branches: 1.35.4; 1.35.6; 1.35.10; kill sprintf
|
1.34 |
| 11-Jan-2012 |
macallan | branches: 1.34.6; 1.34.10; adjust for wsfont_find() change
|
1.33 |
| 19-Jul-2011 |
dyoung | branches: 1.33.2; 1.33.6; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark dreamcast/bus.h obsolete.
|
1.32 |
| 21-May-2011 |
tsutsui | Move several static wsdisplay variables into proper device specific structures to resolve XXX comments. Tested on GXemul.
|
1.31 |
| 26-Jan-2011 |
tsutsui | Add proper prefix to structures.
|
1.30 |
| 24-Oct-2010 |
tsutsui | branches: 1.30.2; 1.30.4; - make local functions/variables static - export more cons(9) functions in pvrvar.h
|
1.29 |
| 20-Oct-2010 |
tsutsui | Split device_t/softc.
|
1.28 |
| 19-Jun-2010 |
tsutsui | Add WSDISPLAYIO_LINEBYTES, required by Xorg wsfb server.
|
1.27 |
| 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.26 |
| 15-May-2010 |
tsutsui | Set RI_NO_AUTO in ri_flg if pvr_getdevconfig() is invoked from cninit. Tested on gxemul.
|
1.25 |
| 26-May-2008 |
nisimura | branches: 1.25.18; 1.25.20; - 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.24 |
| 04-Mar-2007 |
christos | branches: 1.24.40; 1.24.42; 1.24.44; 1.24.46; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.23 |
| 14-May-2006 |
elad | branches: 1.23.14; integrate kauth.
|
1.22 |
| 12-Apr-2006 |
jmmv | 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.21 |
| 24-Dec-2005 |
perry | branches: 1.21.4; 1.21.6; 1.21.8; 1.21.10; 1.21.12; Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
|
1.20 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.19 |
| 19-Feb-2005 |
tsutsui | branches: 1.19.6; - u_intNN_t -> uintNN_t - more ANSI function decls - sone KNF
|
1.18 |
| 10-Dec-2003 |
tsutsui | branches: 1.18.8; 1.18.10; Add WSDISPLAYIO_VIDEO_{ON,OFF} support for WSDISPLAYIO_SVIDEO ioctl. Patch from Yasushi Oshima.
|
1.17 |
| 02-Oct-2002 |
thorpej | branches: 1.17.6; Use CFATTACH_DECL().
|
1.16 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.15 |
| 27-Sep-2002 |
thorpej | When in a match routine, the cfdata we're passed always references our own cfdriver, so don't bother comparing the names, since they will always match.
|
1.14 |
| 06-Sep-2002 |
gehenna | Merge the gehenna-devsw branch into the trunk.
This merge changes the device switch tables from static array to dynamically generated by config(8).
- All device switches is defined as a constant structure in device drivers.
- The new grammer ``device-major'' is introduced to ``files''.
device-major <prefix> char <num> [block <num>] [<rules>]
- All device major numbers must be listed up in port dependent majors.<arch> by using this grammer.
- Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables.
- The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa.
- The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch.
- In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
|
1.13 |
| 04-Jul-2002 |
junyoung | alloc_attr -> allocattr
Approved by Matthias Drochner.
|
1.12 |
| 03-May-2002 |
thorpej | branches: 1.12.2; 1.12.6; De-obfuscate somewhat; define and use register bit constants, etc.
|
1.11 |
| 24-Mar-2002 |
uch | adapted to new interrupt code and shb changes.
|
1.10 |
| 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.9 |
| 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.8 |
| 05-Mar-2001 |
marcus | branches: 1.8.4; Off-by-one error on v_absolute_size fixed.
|
1.7 |
| 04-Mar-2001 |
marcus | Made it possible to mmap the frame buffer.
|
1.6 |
| 19-Feb-2001 |
marcus | PAL support...
|
1.5 |
| 02-Feb-2001 |
thorpej | branches: 1.5.2; Report the VGA/NTSC RGB/composite mode of the display.
|
1.4 |
| 01-Feb-2001 |
thorpej | New PowerVR display driver, based on the TURBOchannel "cfb" driver by Tohru Nisimura (a very good framework for a FB driver, BTW!), using bits of Marcus's original driver for the hardware access.
The main advantage of this version is that is uses rasops (which is faster than the rcons stuff) and wsfont, so you can select the console font in the kernel config file. Using the BOLD8x16 font, you get an 80x30 console (vast improvement compared to the Gallant12x22 font).
|
1.3 |
| 21-Jan-2001 |
marcus | Corrected license text.
|
1.2 |
| 21-Jan-2001 |
christos | knf, some symbolic constants would be nice [pvrreg.h]
christos
|
1.1 |
| 16-Jan-2001 |
marcus | PowerVR display driver.
|
1.5.2.2 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
1.5.2.1 |
| 02-Feb-2001 |
bouyer | file pvr.c was added on branch thorpej_scsipi on 2001-03-12 13:28:07 +0000
|
1.8.4.4 |
| 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.8.4.3 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.8.4.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.8.4.1 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.12.6.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.12.6.3 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.12.6.2 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.12.6.1 |
| 03-May-2002 |
nathanw | file pvr.c was added on branch nathanw_sa on 2002-08-01 02:41:29 +0000
|
1.12.2.2 |
| 16-Jul-2002 |
gehenna | catch up with -current.
|
1.12.2.1 |
| 19-May-2002 |
gehenna | Replace the access to devsw table and the hard-coded majors with devsw API.
|
1.17.6.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.17.6.4 |
| 17-Jan-2005 |
skrll | Adapt to branch.
|
1.17.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.17.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.17.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.18.10.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.18.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.19.6.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.19.6.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.21.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.21.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.21.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.21.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.21.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.23.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.24.46.1 |
| 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
1.24.44.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.24.44.1 |
| 04-May-2009 |
yamt | sync with head.
|
1.24.42.1 |
| 04-Jun-2008 |
yamt | sync with head
|
1.24.40.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.25.20.4 |
| 31-May-2011 |
rmind | sync with head
|
1.25.20.3 |
| 05-Mar-2011 |
rmind | sync with head
|
1.25.20.2 |
| 03-Jul-2010 |
rmind | sync with head
|
1.25.20.1 |
| 30-May-2010 |
rmind | sync with head
|
1.25.18.3 |
| 06-Nov-2010 |
uebayasi | Sync with HEAD.
|
1.25.18.2 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
1.25.18.1 |
| 17-Aug-2010 |
uebayasi | Sync with HEAD.
|
1.30.4.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.30.2.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.33.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.33.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.33.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.34.10.1 |
| 18-May-2014 |
rmind | sync with head
|
1.34.6.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.34.6.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.35.10.1 |
| 18-Jan-2017 |
skrll | Sync with netbsd-5
|
1.35.6.1 |
| 19-Mar-2016 |
skrll | Sync with HEAD
|
1.35.4.1 |
| 06-Dec-2016 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #1284): sys/arch/dreamcast/dev/pvr.c: revision 1.36 Properly zero out struct fb_devconfig, including rasops_info. Fix panic after wsconscfg(8) from serial console, caused by a junk function pointer.
|
1.36.32.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.37.2.1 |
| 01-Aug-2021 |
thorpej | Sync with HEAD.
|
1.38.2.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|