20 Mar, 2008

1 commit

  • Since 4c7ffe0b9f7f40bd818fe3af51342f64c483908e ("fbdev: prevent drivers that
    have hardware cursors from calling software cursor code") every call of
    i810fb_cursor fails with -ENXIO because of a incorrect "!".

    This hasn't struck until eaa0ff15c30dc9799eb4d12660edb73aeb6d32c5 ("fix !
    versus & precedence in various places") surrounded the expression with braces,
    so that the intended behavior was inverted. That caused 'pixel waste' - the
    same line of multi-colored pixels repeated over the whole screen - during
    console switch.

    This switches back to the original pre-4c7ffe0 behavior.

    Signed-off-by: Stefan Bauer
    Tested-by: Stefan Bauer
    Signed-off-by: Geert Uytterhoeven
    Cc: Antonino Daplas
    Cc: Henrique de Moraes Holschuh
    Cc: "Rafael J. Wysocki"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stefan Bauer
     

07 Feb, 2008

1 commit

  • Fix various instances of

    if (!expr & mask)

    which should probably have been

    if (!(expr & mask))

    Signed-off-by: Alexey Dobriyan
    Cc: Jens Axboe
    Cc: Peter Osterlund
    Cc: Karsten Keil
    Cc: Mauro Carvalho Chehab
    Cc: "Antonino A. Daplas"
    Cc: Mark Fasheh
    Cc: "David S. Miller"
    Cc: Jeff Garzik
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

18 Jul, 2007

1 commit


09 May, 2007

2 commits


21 Feb, 2007

1 commit

  • WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference
    to .init.data: from .text between 'i810_check_params' (at offset
    0x1123) and 'encode_fix'

    yres cannot be declared __devinitdata as it is used in
    i810_check_params(), which isn't __devinit.

    Signed-off-by: Jean Delvare
    Acked-by: James Simmons
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jean Delvare
     

15 Feb, 2007

1 commit

  • After Al Viro (finally) succeeded in removing the sched.h #include in module.h
    recently, it makes sense again to remove other superfluous sched.h includes.
    There are quite a lot of files which include it but don't actually need
    anything defined in there. Presumably these includes were once needed for
    macros that used to live in sched.h, but moved to other header files in the
    course of cleaning it up.

    To ease the pain, this time I did not fiddle with any header files and only
    removed #includes from .c-files, which tend to cause less trouble.

    Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
    arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
    allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
    configs in arch/arm/configs on arm. I also checked that no new warnings were
    introduced by the patch (actually, some warnings are removed that were emitted
    by unnecessarily included header files).

    Signed-off-by: Tim Schmielau
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

13 Feb, 2007

3 commits


11 Dec, 2006

1 commit


09 Dec, 2006

1 commit


03 Oct, 2006

2 commits


27 Sep, 2006

1 commit

  • i2c-algo-bit: Discard the mdelay data struct member

    The i2c_algo_bit_data structure has an mdelay member, which is not
    used by the algorithm code (the code has always been ifdef'd out.)
    Let's discard it to save some code and memory.

    Signed-off-by: Jean Delvare
    Acked-by: Mauro Carvalho Chehab
    Cc: Adrian Bunk
    Signed-off-by: Greg Kroah-Hartman

    Jean Delvare
     

26 Sep, 2006

1 commit

  • Video drivers which explicitly test for messages reporting PM_EVENT_FREEZE
    will now handle PM_EVENT_PRETHAW the same way.

    Signed-off-by: David Brownell
    Cc: "Rafael J. Wysocki"
    Cc: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

11 Jul, 2006

1 commit

  • MAX_NR_CONSOLES, fg_console, want_console and last_console are more of a
    function of the VT layer than the TTY one. Moving these to vt.h and vt_kern.h
    allows all of the framebuffer and VT console drivers to remove their
    dependency on tty.h.

    [akpm@osdl.org: fix alpha build]
    Signed-off-by: Jon Smirl
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jon Smirl
     

01 Jul, 2006

1 commit


27 Jun, 2006

1 commit

  • Detaching fbcon allows individual drivers to be unloaded. However several
    drivers call pci_disable_device() upon exit. This function will disable the
    BAR's which will kill VGA text mode and/or affect X/DRM.

    To prevent this, remove calls to pci_disable_device() from several drivers.

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

    Antonino A. Daplas
     

22 May, 2006

1 commit

  • WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1b88) and 'i810_alloc_agp_mem'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1b8f) and 'i810_alloc_agp_mem'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1ba3) and 'i810_alloc_agp_mem'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1bb5) and 'i810_alloc_agp_mem'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_fix_offsets' (at offset 0x1bc6) and 'i810_alloc_agp_mem'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_init_defaults' (at offset 0x1dd8) and 'i810_init_device'
    WARNING: drivers/video/i810/i810fb.o - Section mismatch: reference to .init.data: from .text between 'i810_init_defaults' (at offset 0x1dfb) and 'i810_init_device'

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

    Andrew Morton
     

28 Mar, 2006

1 commit


22 Mar, 2006

1 commit


02 Feb, 2006

1 commit

  • Some time before 2.6.15, a third DDC channel was added to i810fb. On
    systems where these ddc pins are not connected, the probe takes about 10
    seconds.

    Add a boot/module option for i810fb to explicitly probe for the 3rd ddc bus
    if needed.

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

    Manuel Lauss
     

11 Jan, 2006

3 commits

  • This patch contains the possible cleanups including the following:
    - every file should #include the headers containing the prototypes for
    it's global functions
    - make needlessly global functions static
    - kyro/STG4000Interface.h: #include video/kyro.h and linux/pci.h
    instead of a manual "struct pci_dev"
    - i810_main.{c,h}: prototypes for static functions belong to the
    C file

    Signed-off-by: Adrian Bunk
    Acked-by: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • The i810fb suspend and resume hooks have suffered bitrot over time. Update to
    current framework, but functionality still not guaranteed to work.

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

    Antonino A. Daplas
     
  • - remove redundant casts

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

    Antonino A. Daplas
     

07 Nov, 2005

3 commits

  • This is the remaining misc drivers/ part of the big kfree cleanup patch.

    Remove pointless checks for NULL prior to calling kfree() in misc files in
    drivers/.

    Signed-off-by: Jesper Juhl
    Acked-by: Aristeu Sergio Rozanski Filho
    Acked-by: Roland Dreier
    Acked-by: Pierre Ossman
    Acked-by: Jean Delvare
    Acked-by: Greg Kroah-Hartman
    Acked-by: Len Brown
    Acked-by: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • Convert i810fb, nvidiafb and savagefb to use the fb_find_best_display helper
    when searching for the initial video mode.

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

    Antonino A. Daplas
     
  • - The functions for reading the 1st and 2nd bus are essentially the same,
    except for the register. Consolidate them all.

    - According to Nicolas Boichat, there is an undocumented 3rd i2c bus for
    attaching daughter cards. Add support for this.

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

    Antonino A. Daplas
     

29 Sep, 2005

1 commit


12 Sep, 2005

3 commits

  • Reported by: Manuel Lauss

    He was getting random initial video modes depending on the kernel
    configuration. His option line includes 'extvga'.

    The i810fb documentation describes the option 'extvga', however the
    driver accepts 'ext_vga'. Besides 'extvga' being ignored by i810fb,
    it also confuses the option parser of i810fb and assigns 'extvga' to
    'mode_option'. This leads to an incorrect video mode at boot time.

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

    Antonino A. Daplas
     
  • If i810fb successfully probed for the EDID, it will disregard the
    boot option parameters 'xres' and 'yres'. Fix this regression.

    Excellent testing done by Manuel Lauss .

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

    Antonino A. Daplas
     
  • Reported by: Manuel Lauss

    compiled with CONFIG_FB_I810_I2C = n and CONFIG_FB_I810 = y
    it oopses at boot in file drivers/video/i810/i810_main.c:1884

    ...
    Unable to handle kernel NULL pointer dereference at virtual address 00000054
    printing eip:
    c02543c0
    *pde = 00000000
    Oops: 0000 [#1]
    last sysfs file:
    Modules linked in:
    CPU: 0
    EIP: 0060:[] Not tainted VLI
    EFLAGS: 00010286 (2.6.13-mm2)
    EIP is at i810fb_find_init_mode+0x53/0x93
    eax: c113ddd4 ebx: c1194000 ecx: c04be2dd edx: c1194000
    esi: c1194008 edi: c113ddd4 ebp: c1194240 esp: c113ddcc
    ds: 007b es: 007b ss: 0068

    struct fb_monspecs *specs is initialized to NULL causing the oops.

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

    Antonino A. Daplas
     

10 Sep, 2005

3 commits


05 Sep, 2005

1 commit

  • This adds type-checking to pm_message_t, so that people can't confuse it
    with int or u32. It also allows us to fix "disk yoyo" during suspend (disk
    spinning down/up/down).

    [We've tried that before; since that cpufreq problems were fixed and I've
    tried make allyes config and fixed resulting damage.]

    Signed-off-by: Pavel Machek
    Signed-off-by: Alexander Nyberg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Machek
     

22 Jun, 2005

1 commit


04 May, 2005

1 commit


01 May, 2005

1 commit