25 May, 2010

2 commits

  • FBIO_WAITFORVSYNC is currently implemented by matroxfb, atyfb, intelfb and
    more. All of them keep redefining the same FBIO_WAITFORVSYNC macro over
    and over again, so move it to linux/fb.h and clean up those duplicate
    defines.

    Signed-off-by: Grazvydas Ignotas
    Cc: Ville Syrjala
    Cc: Grant Likely
    Cc: Maik Broemme
    Cc: Petr Vandrovec
    Cc: Benjamin Herrenschmidt
    Cc: Krzysztof Helt
    Cc: "Hiremath, Vaibhav"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Grazvydas Ignotas
     
  • This work includes the following:

    - Implement handler for FBIO_WAITFORVSYNC ioctl.

    - Allocate the data and palette buffers separately. A consequence of
    this is that the palette and data loading is now done in different
    phases. And that the LCD must be disabled temporarily after the palette
    is loaded but this will only happen once after init and each time the
    palette is changed. I think this is OK.

    - Allocate two (ping and pong) framebuffers from memory.

    - Add pan_display handler which toggles the LCDC DMA registers between
    the ping and pong buffers.

    Signed-off-by: Martin Ambrose
    Cc: Chaithrika U S
    Cc: Sudhakar Rajashekhara
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Ambrose
     

13 Mar, 2010

3 commits

  • This patch adds waveform storing capability to broadsheetfb. It uses the
    firmware class to retrieve the waveform, and the request to initiate the
    waveform storing is done via a driver sysfs entry, loadstore_waveform.

    Broadsheet is a framebuffer device. It is slightly different from a
    typical framebuffer controller that drives a normal TFT-LCD display. Most
    E-Ink display panels require a waveform in order to function. That is, in
    order to drive the state of a pixel to black, gray, or white, a specific
    waveform is utilized. Basically, that waveform represents the specific
    E-field wiggling needed to get the pixel to its optimal state given
    current temperature, and its previous state. TN/IPS-LCDs use a similar
    concept but the driving waveform is sufficiently simple that it is
    internalized in the TFT source/gate driver.

    These E-Ink waveforms are specific to a production batch. That is, a
    batch of display films are produced, then they get characterized and a
    waveform is generated for that batch. Broadsheet, typically, is attached
    to its private SPI flash which is then flashed with this waveform.

    Users won't be able to see the waveform and typically won't ever need to
    know about it. If however, the display panel attached to broadsheet is
    changed out, then they will need to update their waveform. That would
    typically be done at a factory or repair facility rather than by a user.

    [akpm@linux-foundation.org: fix printk warning]
    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     
  • Allow boards with GP-MMIO controllers to provide hooks to broadsheetfb in
    order to offload cmd/data writes and data reads instead of relying only on
    host based GPIO wiggling.

    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     
  • Update broadsheetfb to add support for multiple panel types. The 3.7" and
    6" are known to work but the 9.7" is untested due to lack of hardware.

    Signed-off-by: Jaya Kumar
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Cc: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jaya Kumar
     

16 Feb, 2010

1 commit


17 Dec, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (33 commits)
    sh: Fix test of unsigned in se7722_irq_demux()
    sh: mach-ecovec24: Add FSI sound support
    sh: mach-ecovec24: Add mt9t112 camera support
    sh: mach-ecovec24: Add tw9910 support
    sh: MSIOF/mmc_spi platform data for the Ecovec24 board
    sh: ms7724se: Add ak4642 support
    sh: Fix up FPU build for SH5
    sh: Remove old early serial console code V2
    sh: sh5 scif pdata (sh5-101/sh5-103)
    sh: sh4a scif pdata (sh7757/sh7763/sh7770/sh7780/sh7785/sh7786/x3)
    sh: sh4a scif pdata (sh7343/sh7366/sh7722/sh7723/sh7724)
    sh: sh4 scif pdata (sh7750/sh7760/sh4-202)
    sh: sh3 scif pdata (sh7705/sh770x/sh7710/sh7720)
    sh: sh2a scif pdata (sh7201/sh7203/sh7206/mxg)
    sh: sh2 scif pdata (sh7616)
    sh-sci: Extend sh-sci driver with early console V2
    sh: Stub in P3 ioremap support for nommu parts.
    sh: wire up vmallocinfo support in ioremap() implementations.
    sh: Make the unaligned trap handler always obey notification levels.
    sh: Couple kernel and user write page perm bits for CONFIG_X2TLB
    ...

    Linus Torvalds
     

16 Dec, 2009

1 commit


10 Dec, 2009

2 commits

  • Paul Mundt
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
    tree-wide: fix misspelling of "definition" in comments
    reiserfs: fix misspelling of "journaled"
    doc: Fix a typo in slub.txt.
    inotify: remove superfluous return code check
    hdlc: spelling fix in find_pvc() comment
    doc: fix regulator docs cut-and-pasteism
    mtd: Fix comment in Kconfig
    doc: Fix IRQ chip docs
    tree-wide: fix assorted typos all over the place
    drivers/ata/libata-sff.c: comment spelling fixes
    fix typos/grammos in Documentation/edac.txt
    sysctl: add missing comments
    fs/debugfs/inode.c: fix comment typos
    sgivwfb: Make use of ARRAY_SIZE.
    sky2: fix sky2_link_down copy/paste comment error
    tree-wide: fix typos "couter" -> "counter"
    tree-wide: fix typos "offest" -> "offset"
    fix kerneldoc for set_irq_msi()
    spidev: fix double "of of" in comment
    comment typo fix: sybsystem -> subsystem
    ...

    Linus Torvalds
     

09 Dec, 2009

1 commit


04 Dec, 2009

1 commit


01 Dec, 2009

1 commit


23 Sep, 2009

2 commits

  • Since the previous version, return values in ioctl() function have been
    modified.

    [akpm@linux-foundation.org: simplify lcd_disable_raster()]
    Signed-off-by: Sudhakar Rajashekhara
    Signed-off-by: Pavel Kiryukhin
    Signed-off-by: Steve Chen
    Acked-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sudhakar Rajashekhara
     
  • Add LCD controller (LCDC) driver for TI's DA8xx/OMAP-L1xx architecture.
    LCDC specifications can be found at http://www.ti.com/litv/pdf/sprufm0a.

    LCDC on DA8xx consists of two independent controllers, the Raster
    Controller and the LCD Interface Display Driver (LIDD) controller. LIDD
    further supports character and graphic displays.

    This patch adds support for the graphic display (Sharp LQ035Q3DG01) found
    on the DA830 based EVM. The EVM details can be found at:
    http://support.spectrumdigital.com/boards/dskda830/revc/.

    Signed-off-by: Sudhakar Rajashekhara
    Signed-off-by: Pavel Kiryukhin
    Signed-off-by: Steve Chen
    Acked-by: Krzysztof Helt
    DESC
    davinci-fb-frame-buffer-driver-for-ti-da8xx-omap-l1xx-fix
    EDESC
    From: Andrew Morton

    fix kconfig indenting

    Cc: Krzysztof Helt
    Cc: Pavel Kiryukhin
    Cc: Steve Chen
    Cc: Sudhakar Rajashekhara
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Sudhakar Rajashekhara
     

17 Jun, 2009

1 commit

  • Add accelerated bitblt functions to s1d13xxx based video chipsets, more
    specificly functions copyarea and fillrect.

    It has only been tested and activated for 13506 chipsets but is expected
    to work for the majority of s1d13xxx based chips. This patch also cleans
    up the driver with respect of whitespaces and other formatting issues. We
    update the current status comments.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Kristoffer Ericson
    Cc: Russell King
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kristoffer Ericson
     

13 Jun, 2009

1 commit

  • This driver is originally written by Lennert, modified by Green to be
    feature complete, and ported by Jun Nie and Kevin Liu for pxa168/910
    processors.

    The patch adds support for the on-chip LCD display controller, it
    currently supports the base (graphics) layer only.

    Signed-off-by: Lennert Buytenhek
    Signed-off-by: Green Wan
    Cc: Peter Liao
    Signed-off-by: Jun Nie
    Signed-off-by: Kevin Liu
    Acked-by: Krzysztof Helt
    Signed-off-by: Eric Miao

    Lennert Buytenhek
     

14 Apr, 2009

1 commit


07 Apr, 2009

1 commit

  • The I2C functionality provided by the i2c-voodoo3 driver is moved into the
    tdfxfb (frame buffer driver for Voodoo3 cards). This way there is no
    conflict between the i2c driver and the fb driver.

    The tdfxfb does not make use from the DDC functionality yet but provides
    all the functionality of the i2c-voodoo3 driver.

    Signed-off-by: Krzysztof Helt
    Acked-by: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Helt
     

01 Apr, 2009

5 commits

  • The s1d13xxx chip provides two values of identification value: the
    Production id (e.g 13506/13505/13806..) and a revision number 0,1,2,3).
    Together these can help us to differentiate between similiar setups.

    This patch adds the proper way of grabbing both those values and save them
    for future reference (in order to decide what functions a card supports,
    e.g acceleration).

    We also move away from the concept of all s1d13xxx = s1d13806 when we
    really support alot more.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: simplify s1d13xxxfb_probe()]
    Signed-off-by: Kristoffer Ericson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kristoffer Ericson
     
  • With a postfix decrement t reaches -1 on timeout which results in a
    return of 0.

    Signed-off-by: Roel Kluin
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Roel Kluin
     
  • Fix 8bpp mode by adding handling of the Laguna chipsets to various places
    and stop trashing a HDR register which probably does not exist on the
    Laguna.

    Fix compilation warnings about uninitialized variables also.

    Finally, all 8bpp, 16bpp and 32bpp modes work on the Laguna chipset.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Helt
     
  • Add additional overflow register setting for Laguna chips.

    Also, simplify some code in the cirrusfb_pan_display() and
    cirrusfb_blank().

    Signed-off-by: Krzysztof Helt
    Cc: Geert Uytterhoeven

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Helt
     
  • Fix trailing whitespace because quilt complained about it.

    Signed-off-by: Randy Dunlap
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

10 Feb, 2009

1 commit


06 Feb, 2009

1 commit

  • Fix namespace violations by changing non-kconfig CONFIG_ names to CNFG_*.

    Fixes breakage in staging/, which adds a real CONFIG_PANEL.

    Signed-off-by: Randy Dunlap
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

31 Jan, 2009

2 commits


22 Dec, 2008

1 commit

  • This patch adds sh_mobile_lcdcfb deferred io support for SYS panels.

    The LCDC hardware block managed by the sh_mobile_lcdcfb driver supports
    RGB or SYS panel configurations. SYS panels come with an external display
    controller that is resposible for refreshing the actual LCD panel. RGB
    panels are controlled directly by the LCDC and they need to be refreshed
    by the LCDC hardware.

    In the case of SYS panels we can save some power by configuring the LCDC
    hardware block in one-shot mode. In this one-shot mode panel refresh is
    managed by software. This works well together with deferred io since it
    allows us to stop clocks for most of the time and only enable clocks when
    we actually want to trigger an update. When there is no fbdev activity
    the clocks are kept stopped which allows us to deep sleep.

    The refresh rate in deferred io mode is set using platform data. The same
    platform data can also be used to disable deferred io mode.

    As with other deferred io frame buffers user space code should use fsync()
    on the frame buffer device to trigger an update.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     

11 Dec, 2008

1 commit

  • This reverts commit b1ee26bab14886350ba12a5c10cbc0696ac679bf, along with
    the "fixes" for it that all just caused problems:

    - c4c6fa9891f3d1bcaae4f39fb751d5302965b566 "radeonfb: fix problem with
    color expansion & alignment"

    - f3179748a157c21d44d929fd3779421ebfbeaa93 "radeonfb: Disable new color
    expand acceleration unless explicitely enabled"

    because even when disabled, it breaks for people. See

    http://bugzilla.kernel.org/show_bug.cgi?id=12191

    for the latest example.

    Acked-by: Benjamin Herrenschmidt
    Acked-by: David S. Miller
    Cc: Krzysztof Halasa
    Cc: James Cloos
    Cc: "Rafael J. Wysocki"
    Cc: Krzysztof Helt
    Cc: Jean-Luc Coulon
    Cc: Andrew Morton
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

13 Nov, 2008

1 commit


20 Oct, 2008

3 commits


17 Oct, 2008

5 commits

  • The Epson s1d13xxx hardware is common in many handhelds, but our driver is
    currently locked to a single chip revision. This patch adds an array of
    known to work revisions (which can be extended).

    [akpm@linux-foundation.org: cleanups]
    Signed-off-by: Kristoffer Ericson
    Acked-by: Thibaut Varène
    Cc: Geert Uytterhoeven
    Cc: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kristoffer Ericson
     
  • Implement support for HW color expansion of 1bpp images, along with some
    improvements to the FIFO handling and other accel operations.

    The offset fixup code is now unnecessary as the fbcon core will call our
    set_par upon switch back from KD_GRAPHICS before anything else happens. I
    removed it as it would slow down accel operations.

    The fifo wait has been improved to avoid hitting the HW register as often,
    and the various accel ops are now performing better caching of register
    values.

    Overall, this improve accel performances. The imageblit acceleration does
    result in a small overall regression in performances on some machines (on
    the order of 5% on some x86), probably becaus the SW path provides a
    better bus utilisation, but I decided to ingnore that as the performances
    is still very good, and on the other hand, some machines such as some
    sparc64 get a 3 fold performance improvement.

    Signed-off-by: Benjamin Herrenschmidt
    Acked-by: David S. Miller
    Cc: Krzysztof Halasa
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     
  • Fix a couple of incomplete tests of the chip families in the engine
    init/reset code and proper initialization of the destination cache mode.
    The result should better match what the latest X radeon driver does.

    Signed-off-by: Benjamin Herrenschmidt
    Acked-by: David S. Miller
    Cc: Krzysztof Halasa
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     
  • Remove mutex from the fb_open/fb_release functions as these operations are
    mutexed at fb layer.

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Helt
     
  • __FUNCTION__ is gcc-specific, use __func__

    Signed-off-by: Harvey Harrison
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     

10 Oct, 2008

1 commit