24 May, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (39 commits)
    b43: fix comment typo reqest -> request
    Haavard Skinnemoen has left Atmel
    cris: typo in mach-fs Makefile
    Kconfig: fix copy/paste-ism for dell-wmi-aio driver
    doc: timers-howto: fix a typo ("unsgined")
    perf: Only include annotate.h once in tools/perf/util/ui/browsers/annotate.c
    md, raid5: Fix spelling error in comment ('Ofcourse' --> 'Of course').
    treewide: fix a few typos in comments
    regulator: change debug statement be consistent with the style of the rest
    Revert "arm: mach-u300/gpio: Fix mem_region resource size miscalculations"
    audit: acquire creds selectively to reduce atomic op overhead
    rtlwifi: don't touch with treewide double semicolon removal
    treewide: cleanup continuations and remove logging message whitespace
    ath9k_hw: don't touch with treewide double semicolon removal
    include/linux/leds-regulator.h: fix syntax in example code
    tty: fix typo in descripton of tty_termios_encode_baud_rate
    xtensa: remove obsolete BKL kernel option from defconfig
    m68k: fix comment typo 'occcured'
    arch:Kconfig.locks Remove unused config option.
    treewide: remove extra semicolons
    ...

    Linus Torvalds
     

16 May, 2011

3 commits

  • We need to hold the dev->mode_config.mutex whilst detecting the output
    status. But we also need to drop it for the call into
    drm_fb_helper_single_fb_probe(), which indirectly acquires the lock when
    attaching the fbcon.

    Failure to do so exposes a race with normal output probing. Detected by
    adding some warnings that the mutex is held to the backend detect routines:

    [ 17.772456] WARNING: at drivers/gpu/drm/i915/intel_crt.c:471 intel_crt_detect+0x3e/0x373 [i915]()
    [ 17.772458] Hardware name: Latitude E6400
    [ 17.772460] Modules linked in: ....
    [ 17.772582] Pid: 11, comm: kworker/0:1 Tainted: G W 2.6.38.4-custom.2 #8
    [ 17.772584] Call Trace:
    [ 17.772591] [] ? warn_slowpath_common+0x78/0x8c
    [ 17.772603] [] ? intel_crt_detect+0x3e/0x373 [i915]
    [ 17.772612] [] ? drm_helper_probe_single_connector_modes+0xbf/0x2af [drm_kms_helper]
    [ 17.772619] [] ? drm_fb_helper_probe_connector_modes+0x39/0x4d [drm_kms_helper]
    [ 17.772625] [] ? drm_fb_helper_hotplug_event+0xa5/0xc3 [drm_kms_helper]
    [ 17.772633] [] ? output_poll_execute+0x146/0x17c [drm_kms_helper]
    [ 17.772638] [] ? cfq_init_queue+0x247/0x345
    [ 17.772644] [] ? output_poll_execute+0x0/0x17c [drm_kms_helper]
    [ 17.772648] [] ? process_one_work+0x193/0x28e
    [ 17.772652] [] ? worker_thread+0xef/0x172
    [ 17.772655] [] ? worker_thread+0x0/0x172
    [ 17.772658] [] ? worker_thread+0x0/0x172
    [ 17.772663] [] ? kthread+0x7a/0x82
    [ 17.772668] [] ? kernel_thread_helper+0x4/0x10
    [ 17.772671] [] ? kthread+0x0/0x82
    [ 17.772674] [] ? kernel_thread_helper+0x0/0x10

    Reported-by: Frederik Himpe
    References: https://bugs.freedesktop.org/show_bug.cgi?id=36394
    Signed-off-by: Chris Wilson
    Signed-off-by: Dave Airlie

    Chris Wilson
     
  • My Q67 / i7-2600 box has rev09 Sandy Bridge graphics. It hangs
    instantly when GNOME loads and it hangs so hard the reset button
    doesn't work. Setting i915.semaphore=0 fixes it.

    Semaphores were disabled in a1656b9090f7008d2941c314f5a64724bea2ae37
    in 2.6.38 and were re-enabled by

    commit 47ae63e0c2e5fdb582d471dc906eb29be94c732f
    Merge: c59a333 467cffb
    Author: Chris Wilson
    Date: Mon Mar 7 12:32:44 2011 +0000

    Merge branch 'drm-intel-fixes' into drm-intel-next

    Apply the trivial conflicting regression fixes, but keep GPU semaphores
    enabled.

    Conflicts:
    drivers/gpu/drm/i915/i915_drv.h
    drivers/gpu/drm/i915/i915_gem_execbuffer.c

    (It's worth noting that the offending change is i915_drv.c,
    which is not a conflict.)

    Signed-off-by: Andy Lutomirski
    Acked-by: Keith Packard
    Signed-off-by: Dave Airlie

    Andy Lutomirski
     
  • If the requested device is already active, ignore the request.

    This restores the original behaviour of the interface. The change was
    probably an unintended side effect of

    commit 66b37c6777c4 vga_switcheroo: split switching into two stages

    which did not take into account to duplicate the !active check in the split-off
    stage2.

    Fix this by factoring that check out of stage1 into the debugfs_write routine.

    References: https://bugzilla.kernel.org/show_bug.cgi?id=34252
    Reported-by: Igor Murzov
    Tested-by: Igor Murzov
    Signed-off-by: Florian Mickler
    Signed-off-by: Dave Airlie

    Florian Mickler
     

13 May, 2011

4 commits


11 May, 2011

3 commits


10 May, 2011

4 commits

  • * 'drm-intel-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/keithp/linux-2.6:
    drm/i915/lvds: Only act on lid notify when the device is on
    drm/i915: fix intel_crtc_clock_get pipe reads after "cleanup cleanup"
    drm/i915: Only enable the plane after setting the fb base (pre-ILK)
    drm/i915/dp: Be paranoid in case we disable a DP before it is attached
    drm/i915: Release object along create user fb error path

    Linus Torvalds
     
  • If we're using vga switcheroo, the device may be turned off
    and poking it can return random state. This provokes an OOPS fixed
    separately by 8ff887c847 (drm/i915/dp: Be paranoid in case we disable a
    DP before it is attached). Trying to use and respond to events on a
    device that has been turned off by the user is in principle a silly thing
    to do.

    Signed-off-by: Alex Williamson
    Signed-off-by: Chris Wilson
    Cc: stable@kernel.org
    Signed-off-by: Keith Packard

    Alex Williamson
     
  • Despite the fixes in 548f245ba6a31 (drm/i915: fix per-pipe reads after
    "cleanup"), we missed one neighbouring read that was mistakenly replaced
    with the reg value in 9db4a9c (drm/i915: cleanup per-pipe reg usage).
    This was preventing us from correctly determining the mode the BIOS left
    the panel in for machines that neither have an OpRegion nor access to
    the VBT, (e.g. the EeePC 700).

    Signed-off-by: Chris Wilson
    Cc: Jesse Barnes
    Cc: stable@kernel.org
    Reviewed-by: Jesse Barnes
    Signed-off-by: Keith Packard

    Chris Wilson
     
  • When enabling the plane, it is helpful to have already pointed that
    plane to valid memory or else we may incur the wrath of a PGTBL_ER.
    This code preserved the behaviour from the bad old days for unknown
    reasons...

    Found by assert_fb_bound_for_plane().

    References: https://bugs.freedesktop.org/show_bug.cgi?id=36246
    Signed-off-by: Chris Wilson
    Cc: Daniel Vetter
    Cc: Jesse Barnes
    Signed-off-by: Keith Packard

    Chris Wilson
     

09 May, 2011

6 commits


05 May, 2011

2 commits


04 May, 2011

3 commits


27 Apr, 2011

4 commits


26 Apr, 2011

1 commit


22 Apr, 2011

2 commits


20 Apr, 2011

7 commits