14 Apr, 2009

1 commit


24 Aug, 2008

1 commit


06 Aug, 2008

1 commit

  • commit 20e061fb750d36ec0ffcb2e44ed7dafa9018223b
    Author: Ondrej Zajicek
    Date: Mon Apr 28 02:15:18 2008 -0700

    fbdev: framebuffer_alloc() fixes

    Correct the dev arg of framebuffer_alloc() in arkfb, s3fb and vt8623fb.

    causes a null-pointer deref because "info->dev is NULL, info was just
    kzallocated".

    Signed-off-by: Ondrej Zajicek
    Reported-by: "MadLoisae@gmx.net"
    Tested-by: "MadLoisae@gmx.net"
    Cc: Alexey Dobriyan
    Cc: "Antonino A. Daplas"
    Cc: Krzysztof Helt
    Cc: [2.6.26.x]
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     

28 Apr, 2008

2 commits


17 Oct, 2007

2 commits

  • This patch adds check if selected pixclock is valid (is in the PLL range).

    Previously, if the pixclock could not be set, the new mode resolution was set
    but pixclock was not set which led to incorrect timings sent to monitor.

    [adaplas]
    Fixed a few misplaced curly braces.

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

    Krzysztof Helt
     
  • This patch changes mode selection matching algorithm. It allows to choose
    mode with matching depth even when requested color lengths are greater than
    color lengths of every mode with requested color depth.

    It also fixes bug in s3fb - wrong error value returned when format is not
    supported by chip.

    Signed-off-by: Ondrej Zajicek
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     

10 May, 2007

1 commit


09 May, 2007

7 commits

  • Move s3fb_get_tilemax to svgalib.c as svga_get_tilemax, because it reports
    limitation of other code from svgalib (svga_settile, svga_tilecopy, ...)

    Limit font width to 8 pixels in 4 bpp mode.

    Signed-off-by: Ondrej Zajicek
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     
  • Implement fb_get_caps(). This will allow the driver to tell upper layer that
    it can only support 256 8x16 bitmaps when in tileblitting mode
    (var->bits_per_pixel == 0);

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

    Antonino A. Daplas
     
  • This fixes broken fbcon on Virge VX in 24 bpp mode, and contains several
    other small updates.

    Signed-off-by: Ondrej Zajicek
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     
  • Implement fb_get_tilemax(). It just returns 256.

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

    Antonino A. Daplas
     
  • If tileblitting is enabled (text mode), the hardware can only accept 8x16
    bitmaps. Advertise this to the upper layer. And to ensure that an appropriate
    font is always available, select an 8x16 font in Kconfig.

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

    Antonino A. Daplas
     
  • Add sparse annotations and use fb_read/fb_write and family to access the
    framebuffer.

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

    Antonino A. Daplas
     
  • drivers/video/s3fb.c:1078: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result

    Signed-off-by: Randy Dunlap
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

23 Mar, 2007

1 commit


27 Feb, 2007

1 commit

  • Toralf Förster pointed out that drivers/video/s3fb.c would fail to compile:
    > ...
    > CC drivers/video/s3fb.o
    > drivers/video/s3fb.c: In function `s3_pci_remove':
    > drivers/video/s3fb.c:1003: warning: unused variable `par'
    > drivers/video/s3fb.c: In function `s3fb_setup':
    > drivers/video/s3fb.c:1141: error: `mtrr' undeclared (first use in this function)
    > drivers/video/s3fb.c:1141: error: (Each undeclared identifier is reported only once
    > drivers/video/s3fb.c:1141: error: for each function it appears in.)
    > make[2]: *** [drivers/video/s3fb.o] Error 1
    > make[1]: *** [drivers/video] Error 2
    > make: *** [drivers] Error 2

    Here is fix, it also fixes broken boot options.

    Signed-off-by: Linus Torvalds

    Ondrej Zajicek
     

13 Feb, 2007

1 commit

  • Add a driver for S3 Trio / S3 Virge. Driver is tested with most versions
    of S3 Trio and with S3 Virge/DX, on i386.

    (akpm: We kind-of have support for this hardware already, but...

    virgefb.c
    - amiga/zorro specific,
    - broken (according to Kconfig),
    - uses obsolete/nonexistent interface (struct display_switch)
    - recent Adrian Bunk's patch removes this driver

    S3triofb.c
    - ppc/openfirmware specific
    - minimal functionality
    - broken (according to Kconfig),
    - uses obsolete/nonexistent interface (struct display_switch)
    )

    Signed-off-by: Ondrej Zajicek
    Cc: James Simmons
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ondrej Zajicek