26 Sep, 2006

1 commit


24 Sep, 2006

2 commits


23 Sep, 2006

1 commit

  • In

    |Author: James Simmons
    |Date: Thu Mar 13 22:37:08 2003 -0800
    |
    | [FBCON] Cursor handling clean up. I nuked several static variables.

    we have

    -static void fbcon_vbl_handler(int irq, void *dummy, struct pt_regs *fp)
    +static void fb_vbl_handler(int irq, void *dev_id, struct pt_regs *fp)

    and 3 years later a couple of instances missed back then still remains
    there.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

14 Sep, 2006

1 commit


02 Sep, 2006

1 commit

  • Fix some more problems (inverted use of semaphores in some places). He
    also moved my checks into within the protected section which is better.

    Signed-off-by: Michael Hanselmann
    Signed-off-by: Benjamin Herrenschmidt
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

31 Aug, 2006

2 commits


28 Aug, 2006

2 commits

  • I wish I was happier about this patch. It'll serve as a placeholder for
    the moment. I'm still trying to get a G550 working in order to even
    reproduce the problem this patch introduces. I find that the G450 has
    jitter even without this patch, so it won't show me what the patch changed.
    At this point, I'll continue trying to get the G550 to work, and in
    parallel work with the G450 to work out the kinks.

    The patch is below.

    Set XDVICLKCTRL only on PPC, as doing this apparently introduces jitter on
    the G550, at least on x86 architectures.

    Signed-off-by: Paul A. Clarke
    Signed-off-by: Petr Vandrovec
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul A. Clarke
     
  • Commit b64ef8afa58f397e1eaba2bd9ecaa6812064d464 ("[PATCH] add imacfb
    documentation and detection") contained a wrong DMI_MATCH.

    Signed-off-by: Thomas Meyer
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Thomas Meyer
     

15 Aug, 2006

1 commit


08 Aug, 2006

1 commit


06 Aug, 2006

3 commits

  • - fix up the start up sequence.

    This new sequence allow you to correctly enable the LCD controller
    even if the bootloader has already did it.

    - fix up a wrong indentation issue.

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

    Rodolfo Giometti
     
  • Fix "info->var.rotate" data settings.

    This info should be deduced directly from "fbdev->panel->control_base"
    defined into au1100fb.h.

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

    Rodolfo Giometti
     
  • Current Linus tree crashes in aty128_set_lcd_enable() because par->pdev
    is NULL. This happens since at least a week. Call trace is:

    aty128_set_lcd_enable
    aty128fb_set_par
    fbcon_init
    visual_init
    take_over_console
    fbcon_takeover
    notifier_call_chain
    blocking_notifier_call_chain
    register_framebuffer
    aty128fb_probe
    pci_device_probe
    bus_for_each_dev
    driver_attach
    bus_add_driver
    driver_register
    __pci_register_driver
    aty128fb_init
    init
    kernel_thread

    - info->fix was assigned twice.

    - par->vram_size is assigned in aty128_probe(), no need to redo it again
    in aty128_init()

    - register_framebuffer() uses uninitialized struct members, move it past
    par->pdev assignment and past aty128_bl_init().

    Signed-off-by: Olaf Hering
    Acked-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     

01 Aug, 2006

9 commits

  • Paul Mackerras
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Minor comment fix for misc_64.S
    [POWERPC] Use H_CEDE on non-SMT
    [POWERPC] force 64bit mode in fwnmi handlers to workaround firmware bugs
    [POWERPC] PMAC_APM_EMU should depend on ADB_PMU
    [POWERPC] Fix new interrupt code (MPIC detection)
    [POWERPC] Fix new interrupt code (MPIC endianness)
    [POWERPC] Add cpufreq support for Xserve G5
    [POWERPC] Xserve G5 thermal control fixes
    [POWERPC] Fix mem= handling when the memory limit is > RMO size
    [POWERPC] More offb/bootx fixes
    [POWERPC] Fix legacy_serial.c error handling on 32 bits
    [POWERPC] Fix default clock for udbg_16550
    [POWERPC] Fix non-MPIC CHRPs with CONFIG_SMP set
    [POWERPC] Fix 32 bits warning in prom_init.c
    [POWERPC] Workaround Pegasos incorrect ISA "ranges"
    [POWERPC] fix up front-LED Kconfig

    Linus Torvalds
     
  • Since we now use the generic backlight infrastructure, I think we need to
    call rivafb_bl_init before calling register_framebuffer since otherwise
    rivafb_bl_init might race with the framebuffer layer already opening the
    device and setting up the video mode. In this case we might end up with a
    not yet fully intialized backlight (info->bl_dev still NULL) when calling
    riva_bl_set_power via rivafb_set_par/rivafb_load_video_mode and the kernel
    dies without any further notice during boot.

    This fixes booting current git on a PB 6,1. In this case radeonfb/atyfb
    would be affected too - I can fix that too but don't have any hardware to
    test this on.

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

    Guido Guenther
     
  • CONFIG_FB_NVIDIA already depends on CONFIG_PCI in drivers/video/Kconfig.
    Driver does an extra ``sanity check'' which is then redundant.

    Signed-off-by: Arthur Othieno
    Cc: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arthur Othieno
     
  • This patch fixes several problems:
    - The legacy backlight value might be set at interrupt time. Introduced
    a worker to prevent it from directly calling the backlight code.
    - via-pmu allows the backlight to be grabbed, in which case we need to
    prevent other kernel code from changing the brightness.
    - Don't send PMU requests in via-pmu-backlight when the machine is about
    to sleep or waking up.
    - More Kconfig fixes.

    Signed-off-by: Michael Hanselmann
    Cc: Benjamin Herrenschmidt
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hanselmann
     
  • Many IBM Thinkpad T4* models and some R* and X* with radeon video cards draw
    too much power when suspended to RAM, reducing drastically the battery
    lifetime. The solution is to enable suspend-to-D2 on these machines. They
    are whitelisted through their subsystem vendor/device ID. This fixes
    http://bugzilla.kernel.org/show_bug.cgi?id=3022

    The patch introduces a framework to alter the pm_mode and reinit_func fields
    of the radeonfb_info structure based on a whitelist. This should facilitate
    future hardware-dependent workarounds. The workaround for the Samsung P35
    that is already in the radeonfb code has been rewritten using this framework.

    The behavior can be overridden with module options:

    i) video=radeonfb:force_sleep=1
    enable suspend-to-D2 also on non-whitelisted machines (useful for
    testing new notebook models),

    ii) video=radeonfb:ignore_devlist=1
    Disable checking the whitelist and do not apply any workarounds.

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

    Volker Braun
     
  • The backlight and lcd subsystems can be notified by the framebuffer layer
    of blanking events. However, these subsystems, as a whole, can function
    independently from the framebuffer layer. But in order to enable to the
    lcd and backlight subsystems, the framebuffer has to be compiled also,
    effectively sucking in a huge amount of unneeded code.

    To prevent dependency problems, separate out the framebuffer notification
    mechanism from the framebuffer layer and permanently link it to the kernel.

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

    Antonino A. Daplas
     
  • Hide the video drivers for onboard graphics found in early PCI PowerMacs in
    Apple G5 config files.

    drivers/built-in.o: In function `.platinumfb_probe':
    platinumfb.c:(.text+0x377a0): undefined reference to `.nvram_read_byte'
    platinumfb.c:(.text+0x37830): undefined reference to `.nvram_read_byte'
    drivers/built-in.o: In function `.control_init':
    controlfb.c:(.init.text+0x1938): undefined reference to `.nvram_read_byte'
    controlfb.c:(.init.text+0x1968): undefined reference to `.nvram_read_byte'
    drivers/built-in.o: In function `.valkyriefb_init':
    (.init.text+0x2300): undefined reference to `.nvram_read_byte'
    drivers/built-in.o:(.init.text+0x239c): more undefined references to `.nvram_read_byte' follow

    Signed-off-by: Olaf Hering
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Olaf Hering
     
  • WARNING: drivers/video/console/mdacon.o - Section mismatch: reference to .init.text: from .text between 'mdacon_startup' (at offset 0x123) and 'mdacon_init'
    WARNING: drivers/video/console/mdacon.o - Section mismatch: reference to .init.text: from .text between 'mdacon_startup' (at offset 0x18b) and 'mdacon_init'

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

    Frederik Deweerdt
     

31 Jul, 2006

1 commit


25 Jul, 2006

1 commit

  • There were still some issues with offb when BootX doesn't provide a
    proper display node, this fixes them. This also re-instates the
    palette hacks that were disabled a couple of kernel versions ago when
    I converted to the new OF parsing, and shuffles some functions around
    to avoid prototypes.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

15 Jul, 2006

1 commit

  • Add frame buffer driver for the 2700G LCD controller present on CompuLab
    CM-X270 computer module.

    [adaplas]
    - Add more informative help text to Kconfig
    - Make DEBUG a Kconfig option as FB_MBX_DEBUG
    - Remove #include mbxdebug.c, this is frowned upon
    - Remove redundant casts
    - Arrange #include's alphabetically
    - Trivial whitespace

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

    Mike Rapoport
     

11 Jul, 2006

3 commits

  • This patch fixes several problems:
    - pmac_backlight_key() is called under interrupt context, and therefore
    can't use mutexes or semaphores, so defer the backlight level for
    later, as it's not critical (original code by Aristeu S. Rozanski F.
    ).
    - Add exports for functions that might be called from modules
    - Fix Kconfig depdencies on PMAC_BACKLIGHT.
    - Fix locking issues on calls from inside the driver (reported by
    Aristeu S. Rozanski F., too)
    - Fix wrong calculation of backlight values in some of the drivers
    - Replace pmac_backlight_key_up/down by inline functions

    [akpm@osdl.org: fix function prototypes]
    Signed-off-by: Michael Hanselmann
    Acked-by: Aristeu S. Rozanski F.
    Acked-by: Rene Nussbaumer
    Cc: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hanselmann
     
  • screen_info.h doesn't have anything to do with the tty layer and shouldn't be
    included by tty.h. This patches removes the include and modifies all users to
    directly include screen_info.h. struct screen_info is mainly used to
    communicate with the console drivers in drivers/video/console. Note that this
    patch touches every arch and I have no way of testing it. If there is a
    mistake the worst thing that will happen is a compile error.

    [akpm@osdl.org: fix arm build]
    [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
     
  • 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
     

07 Jul, 2006

1 commit

  • There were still some issues with offb when BootX doesn't provide a
    proper display node, this fixes them. This also re-instates the
    palette hacks that were disabled a couple of kernel versions ago when
    I converted to the new OF parsing, and shuffles some functions around
    to avoid prototypes.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Paul Mackerras

    Benjamin Herrenschmidt
     

04 Jul, 2006

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    powerpc: add defconfig for Freescale MPC8349E-mITX board
    powerpc: Add base support for the Freescale MPC8349E-mITX eval board
    Documentation: correct values in MPC8548E SEC example node
    [POWERPC] Actually copy over i8259.c to arch/ppc/syslib this time
    [POWERPC] Add new interrupt mapping core and change platforms to use it
    [POWERPC] Copy i8259 code back to arch/ppc
    [POWERPC] New device-tree interrupt parsing code
    [POWERPC] Use the genirq framework
    [PATCH] genirq: Allow fasteoi handler to retrigger disabled interrupts
    [POWERPC] Update the SWIM3 (powermac) floppy driver
    [POWERPC] Fix error handling in detecting legacy serial ports
    [POWERPC] Fix booting on Momentum "Apache" board (a Maple derivative)
    [POWERPC] Fix various offb and BootX-related issues
    [POWERPC] Add a default config for 32-bit CHRP machines
    [POWERPC] fix implicit declaration on cell.
    [POWERPC] change get_property to return void *

    Linus Torvalds
     
  • Add support for Display Update Module and RGB framebuffer device on Philips
    PNX4008 ARM board.

    Signed-off-by: Grigory Tolstolytkin
    Signed-off-by: Vitaly Wool
    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vitaly Wool
     

03 Jul, 2006

2 commits


01 Jul, 2006

5 commits