Home | History | Annotate | Download | only in xscale
History log of /src/sys/arch/arm/xscale/pxa2x0_lcd.c
RevisionDateAuthorComments
 1.39  20-Nov-2021  rin Accept anti-aliased fonts; they are supported by rotated screen found on
hpcarm/WZERO3 and PXA270-based zaurus.
 1.38  20-Nov-2020  thorpej malloc(9) -> kmem(9)
 1.37  10-Nov-2019  chs branches: 1.37.8;
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.36  17-Oct-2015  jmcneill branches: 1.36.18;
remove tlb_flush define and change callers to use cpu_tlb_flushID directly, ok matt@
 1.35  22-Feb-2014  matt branches: 1.35.6;
Deal with non-4KB page sizes
 1.34  28-Jan-2014  martin Remove unused variables
 1.33  11-Jan-2012  macallan branches: 1.33.6; 1.33.10;
adjust wsfont_find()
 1.32  01-Jul-2011  dyoung branches: 1.32.2; 1.32.6;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.31  14-May-2011  nonaka PXA2X0_LCD_WRITETHROUGH is defflag'd.
 1.30  08-Aug-2010  tsutsui branches: 1.30.2;
Allow pxa2x0_lcd driver mapping screen buffer memory cachable with
write-through map (i.e. map it without BUS_DMA_COHERENT) since
currently all DMA data transfers are memory to device only.

Disabled by default, but enabled by "options PXA2X0_LCD_WRITETHROUGH"
or setting pxa2x0_lcd_writethrough = 1 in a kernel binary.

Tested on WS003SH by me and on WS011SH by jun@, and console output speed
is improved ~three times faster than coherent (uncached) mapping.

XXX: should we have a flag like BUS_DMA_WRITETHROUGH in MI bus_dma(9)?
 1.29  08-Aug-2010  kiyohara Must disable LCD Controller in pxa2x0_lcd_attach_sub(), if already enabled.
We wait to become disable LCD in pxa2x0_lcd_initialize().
 1.28  13-Mar-2010  bsh branches: 1.28.2;
fix LCD drivers for Lubbock and Twintail.
- pass correct attach args to pxa2x0_lcd_attach_sub()
- make this driver compile without wsdisplay again.
 1.27  29-Jan-2009  nonaka branches: 1.27.4;
- device_t/softc split.
- use aprint_* function.
 1.26  17-Oct-2007  garbled branches: 1.26.20; 1.26.28;
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.25  26-Jul-2007  nonaka branches: 1.25.6; 1.25.8;
use WSDISPLAY_TYPE_PXALCD.
 1.24  28-Jun-2007  nonaka branches: 1.24.2; 1.24.4;
cosmetic
 1.23  28-Jun-2007  nonaka use LCCR3_BPP3 instead of magic number.
 1.22  28-Jun-2007  nonaka Mask more interrupts.
 1.21  28-Jun-2007  nonaka Added support ioctl(WSDISPLAYIO_LINEBYTES).
(XFree86 wsfb driver uses it.)
 1.20  28-Jun-2007  nonaka pxa2x0_lcd_mmap():
- Check offset parameter.
 1.19  26-Jun-2007  nonaka Don't setup GP[87:86] to LDD[17:16] at pxa2x0_lcd_initialize().
Because zaurus uses GP[87:86] as SSP2.
 1.18  05-Mar-2007  nonaka branches: 1.18.2; 1.18.4; 1.18.10;
Use (char *) on pointer arith.
 1.17  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.16  18-Dec-2006  nonaka branches: 1.16.2;
Fix evbarm compile again.
 1.15  17-Dec-2006  peter Update from the latest Zaurus source from NONAKA Kimihiro.

Includes drivers for I2C, I2S, PCMCIA controller, USB device controller,
OHCI USB controller (from OpenBSD) and some improvements to the LCD
controller driver.
 1.14  16-Dec-2006  ober Zaurus Port from OpenBSD by Nonaka Kimihiro
OK gimpy
 1.13  12-Apr-2006  jmmv branches: 1.13.8; 1.13.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.12  10-Apr-2006  simonb Tab Police.
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12;
merge ktrace-lwp.
 1.10  04-Jul-2005  bsh branches: 1.10.2;
The first step to support Intel PXA270.

kernel config option CPU_XSCALE_PXA2X0 is now obsoleted by
CPU_XSCALE_PXA250 and CPU_XSCALE_PXA270. If both of them are defined,
CPU is determined run-time.
 1.9  05-Jun-2005  he Remove an unneeded cast and add some consts.
 1.8  03-Oct-2003  bsh avoid compile error with GCC3, and add some comments.
 1.7  23-Jul-2003  bsh $Id$ -> $NetBSD$
 1.6  15-Jul-2003  lukem __KERNEL_RCSID()
 1.5  17-Jun-2003  bsh branches: 1.5.2;
make this compile again:
+ we don't have struct pxa2x0_softc anymore.
+ call pxa2x0_clkman_config() to provide clock to LCDC block.
 1.4  17-Jun-2003  bsh white space nit.
 1.3  05-Jun-2003  scw - Rearrange the PXA2x0 support code to better support attaching
child drivers such as interrupt and gpio controllers.
- Add a function to probe SDRAM size at boot time.
- Add a function to configure the Clock Manager's CKEN settings.
- Add an INTC driver.
- Add a GPIO driver.
- Add attach glue for the PXA2x0's "almost" 16550-compatible uarts.
- Tweak the LCD driver to use the GPIO driver's services for setting
up GPIO pin function.
 1.2  01-Apr-2003  thorpej Use PAGE_SIZE rather than NBPG.
 1.1  19-Oct-2002  bsh branches: 1.1.2;
Support Intel PXA250 and PXA210 application processors.
 1.1.2.2  11-Nov-2002  nathanw Catch up to -current
 1.1.2.1  19-Oct-2002  nathanw file pxa2x0_lcd.c was added on branch nathanw_sa on 2002-11-11 21:57:00 +0000
 1.5.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.5.2.4  17-Jan-2005  skrll Adapt to branch.
 1.5.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.5.2.1  03-Aug-2004  skrll Sync with HEAD
 1.10.2.3  03-Sep-2007  yamt sync with head.
 1.10.2.2  30-Dec-2006  yamt sync with head.
 1.10.2.1  21-Jun-2006  yamt sync with head.
 1.11.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.11.8.2  24-May-2006  yamt sync with head.
 1.11.8.1  11-Apr-2006  yamt sync with head
 1.11.6.1  22-Apr-2006  simonb Sync with head.
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.13.10.2  21-Dec-2006  yamt sync with head.
 1.13.10.1  18-Dec-2006  yamt sync with head.
 1.13.8.1  12-Jan-2007  ad Sync with head.
 1.16.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.18.10.2  03-Oct-2007  garbled Sync with HEAD
 1.18.10.1  26-Jun-2007  garbled Sync with HEAD.
 1.18.4.1  11-Jul-2007  mjf Sync with head.
 1.18.2.2  20-Aug-2007  ad Sync with HEAD.
 1.18.2.1  15-Jul-2007  ad Sync with head.
 1.24.4.1  15-Aug-2007  skrll Sync with HEAD.
 1.24.2.1  07-Aug-2007  matt Sync with HEAD.
 1.25.8.1  06-Nov-2007  matt sync with HEAD
 1.25.6.1  01-Jan-2008  chris Sync with HEAD.
 1.26.28.1  03-Mar-2009  skrll Sync with HEAD.
 1.26.20.2  11-Aug-2010  yamt sync with head.
 1.26.20.1  04-May-2009  yamt sync with head.
 1.27.4.2  17-Aug-2010  uebayasi Sync with HEAD.
 1.27.4.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.28.2.2  31-May-2011  rmind sync with head
 1.28.2.1  05-Mar-2011  rmind sync with head
 1.30.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.32.6.1  18-Feb-2012  mrg merge to -current.
 1.32.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.32.2.1  17-Apr-2012  yamt sync with head
 1.33.10.1  18-May-2014  rmind sync with head
 1.33.6.2  03-Dec-2017  jdolecek update from HEAD
 1.33.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.35.6.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.36.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.37.8.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed