| History log of /src/sys/arch/hpcmips/tx/tx3912video.c |
| Revision | | Date | Author | Comments |
| 1.49 |
| 26-Feb-2025 |
andvar | Fix typos in comments, mainly s/calcurate/calculate/.
|
| 1.48 |
| 09-Aug-2021 |
andvar | fix various typos in comments and messages.
|
| 1.47 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.46 |
| 24-Apr-2021 |
thorpej | branches: 1.46.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.45 |
| 11-Jul-2016 |
matt | branches: 1.45.32; Use pmap_kenter flags to create cached/uncached entries. #include <mips/locore.h> when appropriate
|
| 1.44 |
| 09-Jul-2016 |
skrll | KNF
|
| 1.43 |
| 07-Jun-2014 |
he | branches: 1.43.4; Remove set-but-not-used variable bit8.
|
| 1.42 |
| 27-Oct-2012 |
chs | branches: 1.42.10; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.41 |
| 27-Jan-2012 |
para | branches: 1.41.6; converting extent(9) from malloc(9) to kmem(9) preceding kmem-vmem-pool-uvm patch
releng@ acknowledged
|
| 1.40 |
| 14-Mar-2009 |
dsl | branches: 1.40.12; 1.40.16; Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
| 1.39 |
| 28-Apr-2008 |
martin | branches: 1.39.8; 1.39.14; Remove clause 3 and 4 from TNF licenses
|
| 1.38 |
| 04-Mar-2007 |
christos | branches: 1.38.40; 1.38.42; 1.38.44; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
| 1.37 |
| 11-Dec-2005 |
christos | branches: 1.37.26; merge ktrace-lwp.
|
| 1.36 |
| 12-Dec-2004 |
abs | branches: 1.36.10; Fix comments regarding configration bounaries
|
| 1.35 |
| 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.34 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.33 |
| 02-Oct-2002 |
thorpej | branches: 1.33.6; Use CFATTACH_DECL().
|
| 1.32 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.31 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 1.30 |
| 08-Jun-2002 |
yamt | constify.
|
| 1.29 |
| 08-Jun-2002 |
yamt | make auto const variables static.
|
| 1.28 |
| 13-Apr-2002 |
takemura | branches: 1.28.2; 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.27 |
| 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.26 |
| 06-Mar-2002 |
uch | don't attach bivideo.
|
| 1.25 |
| 19-Feb-2002 |
uch | fix LCD byte-order setting.
|
| 1.24 |
| 29-Jan-2002 |
uch | clean up debug print and configuration.
|
| 1.23 |
| 14-Jun-2001 |
uch | branches: 1.23.2; 1.23.8; ANSI KNF. and change my copyright to TNF copyright.
|
| 1.22 |
| 22-Feb-2001 |
uch | branches: 1.22.2; hpc common files are moved to dev/hpc.
|
| 1.21 |
| 03-Dec-2000 |
takemura | Change hf_baseaddr usage. Now it potins frame buffer start address instead of hf_baseadd + hf_offset. You should use hf_baseaddr only in kernel and you should use hf_offset only with mmap system call from userland.
|
| 1.20 |
| 22-Oct-2000 |
uch | branches: 1.20.2; forgot to set HPCFB_ACCESS_REVERSE.
|
| 1.19 |
| 22-Oct-2000 |
uch | reverse color support.
|
| 1.18 |
| 04-Oct-2000 |
uch | experimental power management support for TX3912/TX3922 based model.
|
| 1.17 |
| 29-Jun-2000 |
mrg | remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
|
| 1.16 |
| 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.15 |
| 22-May-2000 |
uch | branches: 1.15.4; debug frame buffer draw routines moved to video_subr.c. plumvideo also use it.
|
| 1.14 |
| 12-May-2000 |
uch | fix CLUT index bug.
|
| 1.13 |
| 10-May-2000 |
uch | #undef'ed debug routine.
|
| 1.12 |
| 08-May-2000 |
uch | implement 8bpp CLUT of Plum2, TX3912 video module.
|
| 1.11 |
| 02-May-2000 |
uch | add ioctl, mmap. hpcfb directly attach to tx3912video and plumvideo. (no longer use bivideo) XXX CLUT
|
| 1.10 |
| 24-Apr-2000 |
uch | code clean up.
|
| 1.9 |
| 03-Apr-2000 |
sato | - virtual TEXT vram implimentation. - optimize scroll. - hardware accelerator hooking mechanism (initianly, maybe change..) - multiscreen (some bugs, so currently disabled) - if you want disable above codes, #define HPCFB_DISABLE.
|
| 1.8 |
| 13-Mar-2000 |
uch | sync with hpcfb.
|
| 1.7 |
| 07-Jan-2000 |
uch | 4bit greyscale mode currently disabled. (change to 2bit greyscale)
|
| 1.6 |
| 06-Jan-2000 |
uch | add debug draw routines.
|
| 1.5 |
| 03-Jan-2000 |
uch | clean up boot message.
|
| 1.4 |
| 23-Dec-1999 |
uch | branches: 1.4.2; Off LCD power when serial console.
|
| 1.3 |
| 12-Dec-1999 |
uch | code clean up.
|
| 1.2 |
| 29-Nov-1999 |
uch | tx39.c (tx_cons_init): fb_cnattach moved to tx3912video.c (tx3912video_attach):
|
| 1.1 |
| 20-Nov-1999 |
uch | Toshiba TX3912/3922 internal modules.
|
| 1.4.2.2 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
| 1.4.2.1 |
| 23-Dec-1999 |
wrstuden | file tx3912video.c was added on branch wrstuden-devbsize on 1999-12-27 18:32:10 +0000
|
| 1.15.4.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
| 1.20.2.4 |
| 12-Mar-2001 |
bouyer | Sync with HEAD.
|
| 1.20.2.3 |
| 08-Dec-2000 |
bouyer | Sync with HEAD.
|
| 1.20.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.20.2.1 |
| 22-Oct-2000 |
bouyer | file tx3912video.c was added on branch thorpej_scsipi on 2000-11-20 20:47:13 +0000
|
| 1.22.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
| 1.23.8.6 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.23.8.5 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
| 1.23.8.4 |
| 17-Apr-2002 |
nathanw | Catch up to -current.
|
| 1.23.8.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
| 1.23.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
| 1.23.8.1 |
| 14-Jun-2001 |
nathanw | file tx3912video.c was added on branch nathanw_sa on 2002-02-28 04:10:01 +0000
|
| 1.23.2.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.23.2.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.23.2.2 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
| 1.23.2.1 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
| 1.28.2.1 |
| 14-Jul-2002 |
gehenna | catch up with -current.
|
| 1.33.6.5 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
| 1.33.6.4 |
| 18-Dec-2004 |
skrll | Sync with HEAD.
|
| 1.33.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.33.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.33.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.36.10.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
| 1.36.10.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.37.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
| 1.38.44.2 |
| 04-May-2009 |
yamt | sync with head.
|
| 1.38.44.1 |
| 16-May-2008 |
yamt | sync with head.
|
| 1.38.42.1 |
| 18-May-2008 |
yamt | sync with head.
|
| 1.38.40.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
| 1.39.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
| 1.39.8.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
| 1.40.16.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
| 1.40.12.2 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.40.12.1 |
| 17-Apr-2012 |
yamt | sync with head
|
| 1.41.6.3 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
| 1.41.6.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.41.6.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.42.10.1 |
| 10-Aug-2014 |
tls | Rebase.
|
| 1.43.4.2 |
| 05-Oct-2016 |
skrll | Sync with HEAD
|
| 1.43.4.1 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
| 1.45.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.46.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|