History log of /src/sys/arch/hpcsh/dev/hd64461/hd64461video.c |
Revision | | Date | Author | Comments |
1.58 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.57 |
| 03-Jul-2022 |
andvar | fix various typos in comments, mainly s/pallete/palette/.
|
1.56 |
| 24-May-2022 |
andvar | fix various typos in comments, docs and log messages.
|
1.55 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.54 |
| 24-Apr-2021 |
thorpej | branches: 1.54.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.53 |
| 19-Jul-2011 |
dyoung | branches: 1.53.68; Change <machine/bus.h> to <sys/bus.h> throughout.
Split bus.h -> bus_{defs,funcs}.h.
Mark hpcsh/bus.h obsolete.
|
1.52 |
| 05-Apr-2009 |
uwe | Register null hooks with pmf(9) for now, which is no worse than before and allows us to test other things.
|
1.51 |
| 18-Mar-2009 |
uwe | Turn on display on attachment. Fixes the scenario when serial console is used and you reboot (using kloader) with screen turned off.
|
1.50 |
| 02-Dec-2008 |
uwe | branches: 1.50.4; Defining another variable after multiline initializer for a previous one in the same definition is very confusing visually. Change order.
|
1.49 |
| 02-Dec-2008 |
uwe | Spell "gray scale" and "mono chrome" without the space.
|
1.48 |
| 02-Dec-2008 |
uwe | hd64461video_set_display_mode_lcdc - expressing screen widths in hex hardly helps readbility. Express them in terms on 640*x or 640/x.
|
1.47 |
| 02-Dec-2008 |
uwe | hd64461video_info: fix pasto, correctly report 4-bit grayscale in LDR2.
|
1.46 |
| 28-Apr-2008 |
martin | branches: 1.46.6; 1.46.8; Remove clause 3 and 4 from TNF licenses
|
1.45 |
| 28-Mar-2008 |
uwe | branches: 1.45.2; 1.45.4; Split device_t and softc.
|
1.44 |
| 15-Dec-2007 |
perry | branches: 1.44.6; __FUNCTION__ -> __func__
|
1.43 |
| 17-Oct-2007 |
garbled | branches: 1.43.4; 1.43.8; Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
|
1.42 |
| 24-Sep-2007 |
kiyohara | Add psh3pwr.
|
1.41 |
| 09-Jul-2007 |
ad | branches: 1.41.8; 1.41.10; 1.41.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.40 |
| 04-Mar-2007 |
christos | branches: 1.40.2; 1.40.4; 1.40.10; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.39 |
| 22-Feb-2007 |
thorpej | TRUE -> true, FALSE -> false
|
1.38 |
| 21-Feb-2007 |
thorpej | Replace the Mach-derived boolean_t type with the C99 bool type. A future commit will replace use of TRUE and FALSE with true and false.
|
1.37 |
| 18-Aug-2006 |
uwe | branches: 1.37.8; Refer sc_font.wsfont explicitly instead of playing cast tricks.
|
1.36 |
| 14-Aug-2006 |
uwe | Whether hd64461video is console is not is irrelevant to powering it up on PWR_RESUME. Drop that bogus test and check whether the screen was blanked instead to corerctly reflect blanked status across suspends.
|
1.35 |
| 03-Jan-2006 |
uwe | branches: 1.35.2; 1.35.6; HD64461VIDEO options now come from "opt_hd64461video.h".
|
1.34 |
| 18-Dec-2005 |
uwe | branches: 1.34.2; Use explicit "continue" for busy loop bodies in a couple of places I missed in the previous commit.
|
1.33 |
| 18-Dec-2005 |
uwe | Use ANSI uintN_t types. Use "void" in definitions of functions without arguments. Propagate "static" to function definitions. Declare local functions static. Hide acceleration code inside ifdef HD64461VIDEO_HWACCEL (save more than 1K of text).
|
1.32 |
| 11-Dec-2005 |
christos | merge ktrace-lwp.
|
1.31 |
| 04-Sep-2005 |
uwe | Tell hpcfb that framebuffer fetches 16-bit pixels as little endian.
|
1.30 |
| 26-Mar-2005 |
uwe | branches: 1.30.2; Improve spelling in debug printfs.
|
1.29 |
| 28-Feb-2005 |
uwe | branches: 1.29.2; Propagate WSDISPLAYIO_PARAM_BACKLIGHT to config hooks.
|
1.28 |
| 12-Dec-2004 |
abs | branches: 1.28.2; 1.28.4; Fix comments regarding configration bounaries
|
1.27 |
| 03-Jul-2004 |
uch | jornada 6x0 power mannagement support. [on/off] button power off LCD and CPU sleeps.
|
1.26 |
| 04-Jun-2004 |
uch | fix hd64461video_get_clut.
|
1.25 |
| 15-Mar-2004 |
uwe | branches: 1.25.4; Use CONFIG_HOOK_POWERCONTROL_LCD to control turning the LCD on/off (the _LCDLIGHT hook is apparently meant to control the LCD backlight).
|
1.24 |
| 15-Mar-2004 |
uwe | Support for WSDISPLAYIO_PARAM_CONTRAST.
|
1.23 |
| 14-Dec-2003 |
uwe | Use CONFIG_HOOK_BRIGHTNESS* to support WSDISPLAYIO_PARAM_BRIGHTNESS. Use CONFIG_HOOK_POWERCONTROL_LCDLIGHT to turn on/off the LCD in response to WSDISPLAYIO_SVIDEO.
Implementation of these hooks for Jornada 680 is to follow shortly.
|
1.22 |
| 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.21 |
| 09-Nov-2003 |
uwe | Implement trivial WSDISPLAYIO_SVIDEO that flips DON bit in LCDLDR1. This only turns off the display in the LCD controller.
TODO: Need to add a platform specific way to turn the screen on and off as well (e.g. on Jornada 680 this is bit 0 in hd64461 GPIO port B).
|
1.20 |
| 01-Nov-2003 |
uwe | In hd64461video_update_videochip_status init depth to supress bogus -Wuninitialized.
|
1.19 |
| 02-Aug-2003 |
uwe | Move the definition of enum hd64461video_display_mode out of the definition of struct hd64461video_chip. Makes gcc3 happy.
|
1.18 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.17 |
| 27-Apr-2003 |
uwe | branches: 1.17.2; When doing bit blit, set the flow direction based on the condition_a flag.
|
1.16 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL
|
1.15 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.14 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.13 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
1.12 |
| 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.11 |
| 03-May-2002 |
takemura | branches: 1.11.2; 1.11.6; Fixed debug print.
|
1.10 |
| 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.9 |
| 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.8 |
| 19-Feb-2002 |
uch | fix LCD byte-order setting.
|
1.7 |
| 29-Jan-2002 |
uch | clean up debug print and configuration.
|
1.6 |
| 27-Jan-2002 |
uch | clean up debug print and configuration.
|
1.5 |
| 05-Dec-2001 |
atatat | Use more parentheses to make the compiler happy.
|
1.4 |
| 05-Aug-2001 |
jdolecek | use unsigned variable types as appropriate
|
1.3 |
| 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.2 |
| 05-Jun-2001 |
uch | branches: 1.2.2; 1.2.4; HD64461 frame buffer is big-endian. set HPCFB_SWAP_BYTE.
|
1.1 |
| 04-Jun-2001 |
uch | HD64461 video module.
|
1.2.4.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.2.4.6 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.2.4.5 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.2.4.4 |
| 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.2.4.3 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.2.4.2 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.2.4.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.2.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.11.6.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.11.6.2 |
| 17-Sep-2002 |
nathanw | Catch up to -current.
|
1.11.6.1 |
| 03-May-2002 |
nathanw | file hd64461video.c was added on branch nathanw_sa on 2002-09-17 21:14:53 +0000
|
1.11.2.1 |
| 19-May-2002 |
gehenna | Replace the access to devsw table and the hard-coded majors with devsw API.
|
1.17.2.8 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.17.2.7 |
| 01-Apr-2005 |
skrll | Sync with HEAD.
|
1.17.2.6 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.17.2.5 |
| 24-Jan-2005 |
skrll | Adapt to branch.
|
1.17.2.4 |
| 18-Dec-2004 |
skrll | Sync with HEAD.
|
1.17.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.17.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.17.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.25.4.1 |
| 11-May-2005 |
riz | Pull up revision 1.26 (requested by uwe in ticket #1415): fix hd64461video_get_clut.
|
1.28.4.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.28.2.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.29.2.1 |
| 15-Sep-2005 |
tron | Pull up following revision(s) (requested by uwe in ticket #781): sys/arch/hpcsh/dev/hd64461/hd64461video.c: revision 1.31 Tell hpcfb that framebuffer fetches 16-bit pixels as little enidan.
|
1.30.2.6 |
| 21-Jan-2008 |
yamt | sync with head
|
1.30.2.5 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.30.2.4 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.30.2.3 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.30.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.30.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.34.2.1 |
| 15-Jan-2006 |
yamt | sync with head.
|
1.35.6.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.35.2.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.37.8.2 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.37.8.1 |
| 27-Feb-2007 |
yamt | - sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
|
1.40.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.40.4.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.40.2.2 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.40.2.1 |
| 15-Jul-2007 |
ad | Sync with head.
|
1.41.12.1 |
| 06-Oct-2007 |
yamt | sync with head.
|
1.41.10.2 |
| 09-Jan-2008 |
matt | sync with HEAD
|
1.41.10.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.41.8.1 |
| 02-Oct-2007 |
joerg | Sync with HEAD.
|
1.43.8.1 |
| 02-Jan-2008 |
bouyer | Sync with HEAD
|
1.43.4.1 |
| 26-Dec-2007 |
ad | Sync with head.
|
1.44.6.3 |
| 17-Jan-2009 |
mjf | Sync with HEAD.
|
1.44.6.2 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.44.6.1 |
| 03-Apr-2008 |
mjf | Sync with HEAD.
|
1.45.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.45.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.45.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.46.8.2 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.46.8.1 |
| 19-Jan-2009 |
skrll | Sync with HEAD.
|
1.46.6.1 |
| 13-Dec-2008 |
haad | Update haad-dm branch to haad-dm-base2.
|
1.50.4.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.53.68.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.54.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|