1. 05 May, 2014 32 commits
  2. 30 Apr, 2014 8 commits
    • Dave Airlie's avatar
      Merge branch 'drm-init-cleanup' of git://people.freedesktop.org/~danvet/drm into drm-next · 444c9a08
      Dave Airlie authored
      Next pull request, this time more of the drm de-midlayering work. The big
      thing is that his patch series here removes everything from drm_bus except
      the set_busid callback. Thierry has a few more patches on top of this to
      make that one optional to.
      
      With that we can ditch all the non-pci drm_bus implementations, which
      Thierry has already done for the fake tegra host1x drm_bus.
      
      Reviewed by Thierry, Laurent and David and now also survived some testing
      on my intel boxes to make sure the irq fumble is fixed correctly ;-) The
      last minute rebase was just to add the r-b tags from Thierry for the 2
      patches I've redone.
      
      * 'drm-init-cleanup' of git://people.freedesktop.org/~danvet/drm:
        drm/<drivers>: don't set driver->dev_priv_size to 0
        drm: Remove dev->kdriver
        drm: remove drm_bus->get_name
        drm: rip out dev->devname
        drm: inline drm_pci_set_unique
        drm: remove bus->get_irq implementations
        drm: pass the irq explicitly to drm_irq_install
        drm/irq: Look up the pci irq directly in the drm_control ioctl
        drm/irq: track the irq installed in drm_irq_install in dev->irq
        drm: rename dev->count_lock to dev->buf_lock
        drm: Rip out totally bogus vga_switcheroo->can_switch locking
        drm: kill drm_bus->bus_type
        drm: remove drm_dev_to_irq from drivers
        drm/irq: remove cargo-culted locking from irq_install/uninstall
        drm/irq: drm_control is a legacy ioctl, so pci devices only
        drm/pci: fold in irq_by_busid support
        drm/irq: simplify irq checks in drm_wait_vblank
      444c9a08
    • Dave Airlie's avatar
      Merge branch 'drm-coverity-fixes' of git://people.freedesktop.org/~danvet/drm into drm-next · 7e9ab408
      Dave Airlie authored
      bunch of coverity fixes all minor.
      
      * 'drm-coverity-fixes' of git://people.freedesktop.org/~danvet/drm:
        drm: Fix error handling in drm_master_create
        drm/i2c/tda998x: Fix signed overflow issue
        drm/bochs: Remove unecessary NULL check in gem_free
        drm/bochs: Remove unnecessary NULL check in bo_unref
        drm/udl: Initialize ret in udl_driver_load
        drm/via: Remove unecessary NULL check
        drm/ast: Remove unecessary NULL check in gem_free
        drm/ast: Remove unnecessary NULL check in bo_unref
        drm/cirrus: Remove unecessary NULL check in gem_free
        drm/cirrus: Remove unnecessary NULL check in bo_unref
        drm/mgag200: Remove unecessary NULL check in gem_free
        drm/mgag200: Remove unecessary NULL check in bo_unref
      7e9ab408
    • Christian Engelmayer's avatar
      drm: qxl: Remove unused device pointer · 2c9b25c5
      Christian Engelmayer authored
      Remove occurrences of unused struct qxl_device pointer in functions
      qxl_ttm_fault() and qxl_init_mem_type().
      
      Detected by Coverity: CID 1019128, CID 1019129.
      Signed-off-by: default avatarChristian Engelmayer <cengelma@gmx.at>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      2c9b25c5
    • Dave Airlie's avatar
      drm: try harder to avoid regression when merging mode bits · b87577b7
      Dave Airlie authored
      For QXL hw we really want the bits to be replaced as we change
      the preferred mode on the fly, and the same goes for virgl when
      I get to it, however the original fix for this seems to have caused
      a wierd regression on Intel G33 that in a stunning display of failure
      at opposition to his normal self, Daniel failed to diagnose.
      
      So we are left doing this, ugly ugly ugly ugly, Daniel you fixed
      that G33 yet?, ugly, ugly.
      Tested-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
      b87577b7
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-2014-04-16' of git://anongit.freedesktop.org/drm-intel into drm-next · 885ac04a
      Dave Airlie authored
      drm-intel-next-2014-04-16:
      - vlv infoframe fixes from Jesse
      - dsi/mipi fixes from Shobhit
      - gen8 pageflip fixes for LRI/SRM from Damien
      - cmd parser fixes from Brad Volkin
      - some prep patches for CHV, DRRS, ...
      - and tons of little things all over
      drm-intel-next-2014-04-04:
      - cmd parser for gen7 but only in enforcing and not yet granting mode - the
        batch copying stuff is still missing. Also performance is a bit ... rough
        (Brad Volkin + OACONTROL fix from Ken).
      - deprecate UMS harder (i.e. CONFIG_BROKEN)
      - interrupt rework from Paulo Zanoni
      - runtime PM support for bdw and snb, again from Paulo
      - a pile of refactorings from various people all over the place to prep for new
        stuff (irq reworks, power domain polish, ...)
      
      drm-intel-next-2014-04-04:
      - cmd parser for gen7 but only in enforcing and not yet granting mode - the
        batch copying stuff is still missing. Also performance is a bit ... rough
        (Brad Volkin + OACONTROL fix from Ken).
      - deprecate UMS harder (i.e. CONFIG_BROKEN)
      - interrupt rework from Paulo Zanoni
      - runtime PM support for bdw and snb, again from Paulo
      - a pile of refactorings from various people all over the place to prep for new
        stuff (irq reworks, power domain polish, ...)
      
      Conflicts:
      	drivers/gpu/drm/i915/i915_gem_context.c
      885ac04a
    • Vineet Gupta's avatar
      ARC: !PREEMPT: Ensure Return to kernel mode is IRQ safe · 8aa9e85a
      Vineet Gupta authored
      There was a very small race window where resume to kernel mode from a
      Exception Path (or pure kernel mode which is true for most of ARC
      exceptions anyways), was not disabling interrupts in restore_regs,
      clobbering the exception regs
      
      Anton found the culprit call flow (after many sleepless nights)
      
      | 1. we got a Trap from user land
      | 2. started to service it.
      | 3. While doing some stuff on user-land memory (I think it is padzero()),
      |     we got a DataTlbMiss
      | 4. On return from it we are taking "resume_kernel_mode" path
      | 5. NEED_RESHED is not set, so we go to "return from exception" path in
      |     restore regs.
      | 6. there seems to be IRQ happening
      Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
      Cc: <stable@vger.kernel.org>   #3.10, 3.12, 3.13, 3.14
      Cc: Anton Kolesov <Anton.Kolesov@synopsys.com>
      Cc: Francois Bedard <Francois.Bedard@synopsys.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      8aa9e85a
    • Linus Torvalds's avatar
      Merge tag 'sound-3.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · 71dc96e3
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "A few collections of small eggs that have been gathered during the
        Easter holidays.  Mostly small ASoC fixes, with a HD-audio quirk and a
        workaround for Nvidia controller"
      
      * tag 'sound-3.15-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Suppress CORBRP clear on Nvidia controller chips
        ALSA: hda - add headset mic detect quirk for a Dell laptop
        ASoC: jz4740: Remove Makefile entry for removed file
        ASoC: Intel: Fix audio crash due to negative address offset
        ASoC: dapm: Fix widget double free with auto-disable DAPM kcontrol
        ASoC: Intel: Fix incorrect sizeof() in sst_hsw_stream_get_volume()
        ASoC: Intel: some incorrect sizeof() usages
        ASoC: cs42l73: Convert to use devm_gpio_request_one
        ASoC: cs42l52: Convert to use devm_gpio_request_one
        ASoC: tlv320aic31xx: document that the regulators are mandatory
        ASoC: fsl_spdif: Fix wrong OFFSET of STC_SYSCLK_DIV
        ASoC: alc5623: Fix regmap endianness
        ASoC: tlv320aic3x: fix shared reset pin for DT
        ASoC: rsnd: fix clock prepare/unprepare
      71dc96e3
    • Linus Torvalds's avatar
      Merge branch 'drm-fixes' of git://people.freedesktop.org/~airlied/linux · ed8c37e1
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Smattering of fixes, i915, exynos, tegra, msm, vmwgfx.
      
        A bit of framebuffer reference counting fallout fixes, i915 GM45
        regression fix, DVI regression fix, vmware info leak between processes
        fix"
      
      * 'drm-fixes' of git://people.freedesktop.org/~airlied/linux:
        drm/exynos: use %pad for dma_addr_t
        drm/exynos: dsi: use IS_ERR() to check devm_ioremap_resource() results
        MAINTAINERS: update maintainer entry for Exynos DP driver
        drm/exynos: balance framebuffer refcount
        drm/i915: Move all ring resets before setting the HWS page
        drm/i915: Don't WARN nor handle unexpected hpd interrupts on gmch platforms
        drm/msm/mdp4: cure for the cursor blues (v2)
        drm/msm: default to XR24 rather than AR24
        drm/msm: fix memory leak
        drm/tegra: restrict plane loops to legacy planes
        drm/i915: Allow full PPGTT with param override
        drm/i915: Discard BIOS framebuffers too small to accommodate chosen mode
        drm/vmwgfx: Make sure user-space can't DMA across buffer object boundaries v2
        drm/i915: get power domain in case the BIOS enabled eDP VDD
        drm/i915: Don't check gmch state on inherited configs
        drm/i915: Allow user modes to exceed DVI 165MHz limit
      ed8c37e1