25 Mar, 2006

1 commit


24 Mar, 2006

1 commit


23 Mar, 2006

1 commit


22 Mar, 2006

4 commits

  • set_page_count usage outside mm/ is limited to setting the refcount to 1.
    Remove set_page_count from outside mm/, and replace those users with
    init_page_count() and set_page_refcounted().

    This allows more debug checking, and tighter control on how code is allowed
    to play around with page->_count.

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

    Nick Piggin
     
  • The console cursor can be called in atomic context. Change memory
    allocation to use the GFP_ATOMIC flag in i810fb_cursor().

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

    Antonino A. Daplas
     
  • Make sure the callers do a pgprot_noncached() on
    vma->vm_page_prot.

    Pointed out by Hugh Dickens.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (23 commits)
    [PATCH] sysfs: fix a kobject leak in sysfs_add_link on the error path
    [PATCH] sysfs: don't export dir symbols
    [PATCH] get_cpu_sysdev() signedness fix
    [PATCH] kobject_add_dir
    [PATCH] debugfs: Add debugfs_create_blob() helper for exporting binary data
    [PATCH] sysfs: fix problem with duplicate sysfs directories and files
    [PATCH] Kobject: kobject.h: fix a typo
    [PATCH] Kobject: provide better warning messages when people do stupid things
    [PATCH] Driver core: add macros notice(), dev_notice()
    [PATCH] firmware: fix BUG: in fw_realloc_buffer
    [PATCH] sysfs: kzalloc conversion
    [PATCH] fix module sysfs files reference counting
    [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to USB subsystem
    [PATCH] add EXPORT_SYMBOL_GPL_FUTURE() to RCU subsystem
    [PATCH] add EXPORT_SYMBOL_GPL_FUTURE()
    [PATCH] Clean up module.c symbol searching logic
    [PATCH] kobj_map semaphore to mutex conversion
    [PATCH] kref: avoid an atomic operation in kref_put()
    [PATCH] handle errors returned by platform_get_irq*()
    [PATCH] driver core: platform_get_irq*(): return -ENXIO on error
    ...

    Linus Torvalds
     

21 Mar, 2006

3 commits


12 Mar, 2006

11 commits


10 Mar, 2006

1 commit


25 Feb, 2006

5 commits

  • The setcolreg function will attempt to write 24 color entries to the
    pseudo_pallette. However, the pseudo_palette has only space for 16 entries.

    Thanks to Atsushi Nemoto for reporting this bug.

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

    Antonino A. Daplas
     
  • Replaced the no longer existing io_remap_page_range() routine with the
    io_remap_pfn_range() routine. Did not have a chance yet to test the
    functionality of the driver, but at least the kernel compiles cleanly again.

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

    Freddy Spierenburg
     
  • Allocating more than 4 MB memory for the GBE (SGI O2) framebuffer completely
    breakfs gbefb support at the moment. According to comments on #mipslinux,
    more than 4 MB has never worked correctly in Linux. Therefore, the default
    should be 4 MB.

    Signed-off-by: Martin Michlmayr
    Signed-off-by: Antonino Daplas
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Martin Michlmayr
     
  • The gbefb driver does not update the framebuffer layers visual setting when
    depth is changed with fbset, resulting in strange colors (very dark blue in
    16-bit, almost black in 24-bit).

    Signed-off-by: Kaj-Michael Lang
    Signed-off-by: Martin Michlmayr
    Signed-off-by: Antonino Daplas
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kaj-Michael Lang
     
  • EGA boards suck: they mostly have write-only registers. This is
    particularly problematic for the overflow register: for being able to write
    to it, we would have to handle vertical sync & such too, which (I'd say)
    would potentially break a lot of configurations. Instead, just disabling
    vertical resize for EGA boards is just nice enough (horizontal resize still
    works).

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

    Signed-off-by: Samuel Thibault
    Cc: Rafal Olearski
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samuel Thibault
     

21 Feb, 2006

1 commit

  • Make resume from suspend-to-ram possible for Samsung P35 laptops.

    The radeon mobility 9700 chip on Samsung P35 laptops locks up everything on
    resume from suspend-to-ram if it is not reinitialized.

    VGA compatible controller: ATI Technologies Inc RV350 [Mobility Radeon 9600 M10]
    Class 0300: 1002:4e50
    Subsystem: 144d:c00c

    Unfortunately, the DMI strings are mostly identical for all Samsung
    laptops. So we match the PCI ID and subsystem ID of the graphics card
    which is unique for each Samsung laptop model.

    Signed-off-by: Carl-Daniel Hailfinger
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Carl-Daniel Hailfinger
     

18 Feb, 2006

2 commits


16 Feb, 2006

1 commit

  • There were two mistakes in the register-read-on-(un)blank approach.

    - First, without proper register (un)locking the value read back will always
    be zero, and this is what I missed entirely until just now. Due to this,
    the logic could not be verified at all and I tried some bogus checks which
    are completely stupid.

    - Second, the LCD status bit will always be set to zero when the backlight
    has been turned off. Reading the value back during unblank will disable the
    LCD unconditionally, regardless of the state it is supposed to be in, since
    we set it to zero beforehand.

    So this is what we do now:

    - create a new variable in struct neofb_par, and use that to determine
    whether to read back registers (initialized to true)

    - before actually blanking the screen, read back the register to sense any
    possible change made through Fn key combo

    - use proper neoUnlock() / neoLock() to actually read something

    - every call to neofb_blank() determines if we read back next time: blanking
    disables readback, unblanking (FB_BLANK_UNBLANK) enables it

    This should give us a nice and clean state machine. Has been thoroughly
    tested on a Dell Latitude CPiA / NM220 Chip docked to a C/Dock2 with attached
    CRT in all possible combinations of LCD/CRT on/off. I changed the config via
    Fn key, let the console blank, unblanked by keypress - works flawlessly.

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

    Christian Trefzer
     

15 Feb, 2006

2 commits

  • Signed-off-by: Herbert P?tzl
    Signed-off-by: Russell King

    Herbert Poetzl
     
  • Fix issues with the NeoMagic framebuffer driver.

    It nicely complements my previous fix already in linus' tree. The only
    thing missing now is that the external CRT will not be activated at neofb
    init when external-only is selected, either by register read or
    module/kernel parameter.

    Testing was done on a Dell Latitude CPi-A/NM2200 chip.

    Previous behaviour:
    - before booting linux, set the preferred display config X via FN+F8

    - boot linux, neofb stores the register values in a private
    variable

    - change the display config to Y via keystroke

    - leave the machine in peace until display is blanked

    - touching any key will result in display config X being restored

    - booting up, the BIOS will acknowledge config Y, though...

    Current behaviour:
    At the time of unblanking, config Y is honoured because we now read back
    register contents instead of just overwriting them with outdated values.

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

    Christian Trefzer
     

12 Feb, 2006

3 commits


08 Feb, 2006

1 commit


04 Feb, 2006

1 commit


02 Feb, 2006

2 commits

  • 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
     
  • This adds support for the hp680 backlight, as found in the hp6xx series of
    sh devices.

    Signed-off-by: Andriy Skulysh
    Signed-off-by: Paul Mundt
    Acked-by: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andriy Skulysh