22 Feb, 2011

1 commit

  • The current code does not follow Intel documentation: It misses some things
    and does other, undocumented things. This causes wrong backlight values in
    certain conditions. Instead of adding tricky code handling badly documented
    and rare corner cases, don't handle combination mode specially at all. This
    way PCI_LBPC is never touched and weird things shouldn't happen.

    If combination mode is enabled, then the only downside is that changing the
    brightness has a greater granularity (the LBPC value), but LBPC is at most
    254 and the maximum is in the thousands, so this is no real functional loss.

    A potential problem with not handling combined mode is that a brightness of
    max * PCI_LBPC is not bright enough. However, this is very unlikely because
    from the documentation LBPC seems to act as a scaling factor and doesn't look
    like it's supposed to be changed after boot. The value at boot should always
    result in a bright enough screen.

    IMPORTANT: However, although usually the above is true, it may not be when
    people ran an older (2.6.37) kernel which messed up the LBPC register, and
    they are unlucky enough to have a BIOS that saves and restores the LBPC value.
    Then a good kernel may seem to not work: Max brightness isn't bright enough.
    If this happens people should boot back into the old kernel, set brightness
    to the maximum, and then reboot. After that everything should be fine.

    For more information see the below links. This fixes bugs:

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

    Signed-off-by: Indan Zupancic
    Tested-by: Alex Riesen
    Signed-off-by: Linus Torvalds

    Indan Zupancic
     

17 Feb, 2011

10 commits


15 Feb, 2011

3 commits


14 Feb, 2011

17 commits


11 Feb, 2011

3 commits

  • The irony of the patch to fix the resume regression on PineView causing
    a further regression on Ironlake is not lost on me.

    Reported-by: Jeff Chua
    Reported-by: Björn Schließmann
    Tested-by: Björn Schließmann
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=28802
    Signed-off-by: Chris Wilson

    Chris Wilson
     
  • The documentation recommends that we should use a polling method for TV
    detection as this is more power efficient than the interrupt based
    mechanism (as the encoder can be completely switched off). A secondary
    effect is that leaving the hotplug enabled seems to be causing pipe
    underruns as reported by Hugh Dickins on his Crestline.

    Tested-by: Hugh Dickins
    Signed-off-by: Chris Wilson
    [This is a candidate for stable, but needs minor porting to 2.6.37]

    Chris Wilson
     
  • If the user changes the force-audio property and it no longer reflects
    the current configuration, then we need to trigger a mode set in order
    to update the registers.

    Signed-off-by: Chris Wilson

    Chris Wilson
     

10 Feb, 2011

2 commits

  • If we have an EDID for a digital panel, but we are probing a non-TMDS
    connector then we know that this is a false detection, and vice versa.
    This should reduce the number of bogus outputs on multi-function
    adapters that report the same output on multiple connectors.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34101
    Reported-by: Sebastien Caty
    Tested-by: Sebastien Caty
    Signed-off-by: Chris Wilson
    Cc: stable@kernel.org

    Chris Wilson
     
  • The automatic powersaving feature is once again causing havoc, with 100%
    reliable hangs on boot and resume on affected machines.

    Reported-by: Francesco Allertsen
    Reported-by: Gui Rui
    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=28582
    Signed-off-by: Chris Wilson

    Chris Wilson
     

06 Feb, 2011

1 commit


05 Feb, 2011

2 commits

  • * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (27 commits)
    gpu/stub: fix acpi_video build error, fix stub kconfig dependencies
    drm/radeon/kms: dynamically allocate power state space
    drm/radeon/kms: fix s/r issues with bios scratch regs
    agp: ensure GART has an address before enabling it
    Revert "agp: AMD AGP is used on UP1100 & UP1500 alpha boxen"
    amd-k7-agp: remove non-x86 code
    drm/radeon/kms/evergreen: always set certain VGT regs at CP init
    drm/radeon/kms: add updated ib_execute function for evergreen
    drm/radeon: remove 0x4243 pci id
    drm/radeon/kms: Enable new pll calculation for avivo+ asics
    drm/radeon/kms: add new pll algo for avivo asics
    drm/radeon/kms: add pll debugging output
    drm/radeon/kms: switch back to min->max pll post divider iteration
    drm/radeon/kms: rv6xx+ thermal sensor fixes
    drm/nv50: fix display on 0x50
    drm/nouveau: correctly pair hwmon_init and hwmon_fini
    drm/i915: Only bind to function 0 of the PCI device
    drm/i915: Suppress spurious vblank interrupts
    drm: Avoid leak of adjusted mode along quick set_mode paths
    drm: Simplify and defend later checks when disabling a crtc
    ...

    Linus Torvalds
     
  • In drm_crtc_helper_set_config, instead of always forcing all outputs
    to DRM_MODE_DPMS_ON, only set them if the CRTC is actually getting a
    mode set, as any mode set will turn all outputs on.

    This fixes https://lkml.org/lkml/2011/1/24/457

    Signed-off-by: Keith Packard
    Cc: stable@kernel.org (2.6.37)
    Reported-and-tested-by: Carlos R. Mafra
    Tested-by: Takashi Iwai
    Signed-off-by: Linus Torvalds

    Keith Packard
     

04 Feb, 2011

1 commit

  • The comments under "config STUB_POULSBO" are close to correct,
    but they are not being followed. This patch updates them to reflect
    the requirements for THERMAL.

    This build error is caused by STUB_POULSBO selecting ACPI_VIDEO
    when ACPI_VIDEO's config requirements are not met.

    ERROR: "thermal_cooling_device_register" [drivers/acpi/video.ko] undefined!
    ERROR: "thermal_cooling_device_unregister" [drivers/acpi/video.ko] undefined!

    Signed-off-by: Randy Dunlap
    Tested-by: Ingo Molnar
    Signed-off-by: Dave Airlie

    Randy Dunlap