1. 23 Sep, 2014 2 commits
    • Jani Nikula's avatar
      drm/i915/hdmi: fix hdmi audio state readout · c84db770
      Jani Nikula authored
      Check the correct bit for audio. Seems like a copy-paste error from the
      start:
      
      commit 9ed109a7
      Author: Daniel Vetter <daniel.vetter@ffwll.ch>
      Date:   Thu Apr 24 23:54:52 2014 +0200
      
          drm/i915: Track has_audio in the pipe config
      Reported-by: default avatarMartin Andersen <martin.x.andersen@gmail.com>
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82756
      Cc: stable@vger.kernel.org # 3.16+
      Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      c84db770
    • Brad Volkin's avatar
      drm/i915: Don't leak command parser tables on suspend/resume · 22cb99af
      Brad Volkin authored
      Ring init and cleanup are not balanced because we re-init the rings on
      resume without having cleaned them up on suspend. This leads to the
      driver leaking the parser's hash tables with a kmemleak signature such
      as this:
      
      unreferenced object 0xffff880405960980 (size 32):
        comm "systemd-udevd", pid 516, jiffies 4294896961 (age 10202.044s)
        hex dump (first 32 bytes):
          d0 85 46 c0 ff ff ff ff 00 00 00 00 00 00 00 00  ..F.............
          98 60 28 04 04 88 ff ff 00 00 00 00 00 00 00 00  .`(.............
        backtrace:
          [<ffffffff81816f9e>] kmemleak_alloc+0x4e/0xb0
          [<ffffffff811fa678>] kmem_cache_alloc_trace+0x168/0x2f0
          [<ffffffffc03e20a5>] i915_cmd_parser_init_ring+0x2a5/0x3e0 [i915]
          [<ffffffffc04088a2>] intel_init_ring_buffer+0x202/0x470 [i915]
          [<ffffffffc040c998>] intel_init_vebox_ring_buffer+0x1e8/0x2b0 [i915]
          [<ffffffffc03eff59>] i915_gem_init_hw+0x2f9/0x3a0 [i915]
          [<ffffffffc03f0057>] i915_gem_init+0x57/0x1d0 [i915]
          [<ffffffffc045e26a>] i915_driver_load+0xc0a/0x10e0 [i915]
          [<ffffffffc02e0d5d>] drm_dev_register+0xad/0x100 [drm]
          [<ffffffffc02e3b9f>] drm_get_pci_dev+0x8f/0x200 [drm]
          [<ffffffffc03c934b>] i915_pci_probe+0x3b/0x60 [i915]
          [<ffffffff81436725>] local_pci_probe+0x45/0xa0
          [<ffffffff81437a69>] pci_device_probe+0xd9/0x130
          [<ffffffff81524f4d>] driver_probe_device+0x12d/0x3e0
          [<ffffffff815252d3>] __driver_attach+0x93/0xa0
          [<ffffffff81522e1b>] bus_for_each_dev+0x6b/0xb0
      
      This patch extends the current convention of checking whether a
      resource is already allocated before allocating it during ring init.
      Longer term it might make sense to only init the rings once.
      
      Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83794Tested-by: default avatarKari Suvanto <kari.tj.suvanto@gmail.com>
      Signed-off-by: default avatarBrad Volkin <bradley.d.volkin@intel.com>
      Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
      22cb99af
  2. 21 Sep, 2014 3 commits
    • Linus Torvalds's avatar
      Linux 3.17-rc6 · 0f33be00
      Linus Torvalds authored
      0f33be00
    • Linus Torvalds's avatar
      Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm · dae0af78
      Linus Torvalds authored
      Pull ARM fixes from Russell King:
       "Fixes for ARM, the most notable being the fix from Nathan Lynch to fix
        the state of various registers during execve, to ensure that data
        can't be leaked between two executables.
      
        Fixes from Victor Kamensky for get_user() on big endian platforms,
        since the addition of 8-byte get_user() support broke these fairly
        badly.
      
        A fix from Sudeep Holla for affinity setting when hotplugging CPU 0.
      
        A fix from Stephen Boyd for a perf-induced sleep attempt while atomic.
      
        Lastly, a correctness fix for emulation of the SWP instruction on
        ARMv7+, and a fix for wrong carry handling when updating the
        translation table base address on LPAE platforms"
      
      * 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
        ARM: 8149/1: perf: Don't sleep while atomic when enabling per-cpu interrupts
        ARM: 8148/1: flush TLS and thumbee register state during exec
        ARM: 8151/1: add missing exports for asm functions required by get_user macro
        ARM: 8137/1: fix get_user BE behavior for target variable with size of 8 bytes
        ARM: 8135/1: Fix in-correct barrier usage in SWP{B} emulation
        ARM: 8133/1: use irq_set_affinity with force=false when migrating irqs
        ARM: 8132/1: LPAE: drop wrong carry flag correction after adding TTBR1_OFFSET
      dae0af78
    • Linus Torvalds's avatar
      Merge tag 'media-v3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · c1f03b48
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "some media bug fixes:
         - a Kconfig dependency issue
         - some fixes for af9033/it913x demod to be more reliable and address
           a performance regression
         - cx18: fix an oops on devices with tda8290 tuner
         - two new USB IDs for af9035
         - a couple fixes on smapp driver"
      
      * tag 'media-v3.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        [media] af9035: new IDs: add support for PCTV 78e and PCTV 79e
        [media] af9033: feed clock to RF tuner
        [media] it913x: init tuner on attach
        [media] af9033: update IT9135 tuner inittabs
        [media] Kconfig: do not select SPI bus on sub-driver auto-select
        [media] cx18: fix kernel oops with tda8290 tuner
        [media] smiapp: Set sub-device owner
        [media] smiapp: Fix power count handling
      c1f03b48
  3. 20 Sep, 2014 8 commits
  4. 19 Sep, 2014 21 commits
  5. 18 Sep, 2014 6 commits