Skip to content
  1. May 02, 2018
  2. Apr 28, 2018
  3. Apr 25, 2018
    • Takashi Iwai's avatar
      Merge branch 'for-linus' into for-next · 4d31c6e4
      Takashi Iwai authored
      
      
      Back-merge 4.17-rc3 fixes for further development.
      This will bump the base to 4.17-rc2, too.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4d31c6e4
    • Takashi Iwai's avatar
      ALSA: hda - Skip jack and others for non-existing PCM streams · 8a7d6003
      Takashi Iwai authored
      When CONFIG_SND_DYNAMIC_MINORS isn't set, there are only limited
      number of devices available, and HD-audio, especially with HDMI/DP
      codec, will fail to create more than two devices.
      
      The driver warns about the lack of such devices and skips the PCM
      device creations, but the HDMI driver still tries to create the
      corresponding JACK, SPDIF and ELD controls even for the non-existing
      PCM substreams.  This results in confusion on user-space, and even may
      break the operation.
      
      Similarly, Intel HDMI/DP codec builds the ELD notification from i915
      graphics driver, and this may be broken if a notification is sent for
      the non-existing PCM stream.
      
      This patch adds the check of the existence of the assigned PCM
      substream in the both scenarios above, and skips the further operation
      if the PCM substream is not assigned.
      
      Fixes: 9152085d
      
       ("ALSA: hda - add DP MST audio support")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8a7d6003
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-4.17-rc2' of... · 3a230f7d
      Takashi Iwai authored
      Merge tag 'asoc-fix-4.17-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v4.17
      
      A small batch of fixes collected since the merge window, none of which
      are particularly large or remarkable.  They've all been cooking in -next
      for a while.
      3a230f7d
    • Kailang Yang's avatar
      ALSA: hda/realtek - change the location for one of two front mics · 65811834
      Kailang Yang authored
      On this Lenovo ThinkCentre machine. There are two front mics,
      we change the location for one of them.
      
      Relation: f33f79f3
      
       ("ALSA: hda/realtek - change the location for
      one of two front microphones")
      
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      65811834
    • Takashi Iwai's avatar
      ALSA: rme9652: Hardening for potential Spectre v1 · f526afcd
      Takashi Iwai authored
      
      
      As recently Smatch suggested, one place in RME9652 driver may expand
      the array directly from the user-space value with speculation:
        sound/pci/rme9652/rme9652.c:2074 snd_rme9652_channel_info() warn: potential spectre issue 'rme9652->channel_map' (local cap)
      
      This patch puts array_index_nospec() for hardening against it.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f526afcd
    • Takashi Iwai's avatar
      ALSA: hdspm: Hardening for potential Spectre v1 · 10513142
      Takashi Iwai authored
      
      
      As recently Smatch suggested, a couple of places in HDSP MADI driver
      may expand the array directly from the user-space value with
      speculation:
        sound/pci/rme9652/hdspm.c:5717 snd_hdspm_channel_info() warn: potential spectre issue 'hdspm->channel_map_out' (local cap)
        sound/pci/rme9652/hdspm.c:5734 snd_hdspm_channel_info() warn: potential spectre issue 'hdspm->channel_map_in' (local cap)
      
      This patch puts array_index_nospec() for hardening against them.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      10513142
    • Takashi Iwai's avatar
      ALSA: asihpi: Hardening for potential Spectre v1 · f9d94b57
      Takashi Iwai authored
      
      
      As recently Smatch suggested, a couple of places in ASIHPI driver may
      expand the array directly from the user-space value with speculation:
        sound/pci/asihpi/hpimsginit.c:70 hpi_init_response() warn: potential spectre issue 'res_size' (local cap)
        sound/pci/asihpi/hpioctl.c:189 asihpi_hpi_ioctl() warn: potential spectre issue 'adapters'
      
      This patch puts array_index_nospec() for hardening against them.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f9d94b57
    • Takashi Iwai's avatar
      ALSA: opl3: Hardening for potential Spectre v1 · 7f054a5b
      Takashi Iwai authored
      
      
      As recently Smatch suggested, one place in OPL3 driver may expand the
      array directly from the user-space value with speculation:
        sound/drivers/opl3/opl3_synth.c:476 snd_opl3_set_voice() warn: potential spectre issue 'snd_opl3_regmap'
      
      This patch puts array_index_nospec() for hardening against it.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7f054a5b
    • Takashi Iwai's avatar
      ALSA: hda: Hardening for potential Spectre v1 · 69fa6f19
      Takashi Iwai authored
      
      
      As recently Smatch suggested, one place in HD-audio hwdep ioctl codes
      may expand the array directly from the user-space value with
      speculation:
        sound/pci/hda/hda_local.h:467 get_wcaps() warn: potential spectre issue 'codec->wcaps'
      
      As get_wcaps() itself is a fairly frequently called inline function,
      and there is only one single call with a user-space value, we replace
      only the latter one to open-code locally with array_index_nospec()
      hardening in this patch.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      69fa6f19
    • Takashi Iwai's avatar
      ALSA: control: Hardening for potential Spectre v1 · 088e861e
      Takashi Iwai authored
      
      
      As recently Smatch suggested, a few places in ALSA control core codes
      may expand the array directly from the user-space value with
      speculation:
      
        sound/core/control.c:1003 snd_ctl_elem_lock() warn: potential spectre issue 'kctl->vd'
        sound/core/control.c:1031 snd_ctl_elem_unlock() warn: potential spectre issue 'kctl->vd'
        sound/core/control.c:844 snd_ctl_elem_info() warn: potential spectre issue 'kctl->vd'
        sound/core/control.c:891 snd_ctl_elem_read() warn: potential spectre issue 'kctl->vd'
        sound/core/control.c:939 snd_ctl_elem_write() warn: potential spectre issue 'kctl->vd'
      
      Although all these seem doing only the first load without further
      reference, we may want to stay in a safer side, so hardening with
      array_index_nospec() would still make sense.
      
      In this patch, we put array_index_nospec() to the common
      snd_ctl_get_ioff*() helpers instead of each caller.  These helpers are
      also referred from some drivers, too, and basically all usages are to
      calculate the array index from the user-space value, hence it's better
      to cover there.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      088e861e
    • Takashi Iwai's avatar
      ALSA: seq: oss: Hardening for potential Spectre v1 · 8d218dd8
      Takashi Iwai authored
      
      
      As Smatch recently suggested, a few places in OSS sequencer codes may
      expand the array directly from the user-space value with speculation,
      namely there are a significant amount of references to either
      info->ch[] or dp->synths[] array:
      
        sound/core/seq/oss/seq_oss_event.c:315 note_on_event() warn: potential spectre issue 'info->ch' (local cap)
        sound/core/seq/oss/seq_oss_event.c:362 note_off_event() warn: potential spectre issue 'info->ch' (local cap)
        sound/core/seq/oss/seq_oss_synth.c:470 snd_seq_oss_synth_load_patch() warn: potential spectre issue 'dp->synths' (local cap)
        sound/core/seq/oss/seq_oss_event.c:293 note_on_event() warn: potential spectre issue 'dp->synths'
        sound/core/seq/oss/seq_oss_event.c:353 note_off_event() warn: potential spectre issue 'dp->synths'
        sound/core/seq/oss/seq_oss_synth.c:506 snd_seq_oss_synth_sysex() warn: potential spectre issue 'dp->synths'
        sound/core/seq/oss/seq_oss_synth.c:580 snd_seq_oss_synth_ioctl() warn: potential spectre issue 'dp->synths'
      
      Although all these seem doing only the first load without further
      reference, we may want to stay in a safer side, so hardening with
      array_index_nospec() would still make sense.
      
      We may put array_index_nospec() at each place, but here we take a
      different approach:
      
      - For dp->synths[], change the helpers to retrieve seq_oss_synthinfo
        pointer directly instead of the array expansion at each place
      
      - For info->ch[], harden in a normal way, as there are only a couple
        of places
      
      As a result, the existing helper, snd_seq_oss_synth_is_valid() is
      replaced with snd_seq_oss_synth_info().  Also, we cover MIDI device
      where a similar array expansion is done, too, although it wasn't
      reported by Smatch.
      
      BugLink: https://marc.info/?l=linux-kernel&m=152411496503418&w=2
      Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8d218dd8
    • Takashi Iwai's avatar
      ALSA: seq: oss: Fix unbalanced use lock for synth MIDI device · f5e94b4c
      Takashi Iwai authored
      
      
      When get_synthdev() is called for a MIDI device, it returns the fixed
      midi_synth_dev without the use refcounting.  OTOH, the caller is
      supposed to unreference unconditionally after the usage, so this would
      lead to unbalanced refcount.
      
      This patch corrects the behavior and keep up the refcount balance also
      for the MIDI synth device.
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f5e94b4c
    • Kailang Yang's avatar
      ALSA: hda/realtek - Update ALC255 depop optimize · ab3b8e51
      Kailang Yang authored
      
      
      Add ALC255 its own depop functions for alc_init and alc_shutup.
      Assign it to ALC256 usage.
      
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ab3b8e51
    • Kailang Yang's avatar
      ALSA: hda/realtek - Add some fixes for ALC233 · ea04a1db
      Kailang Yang authored
      Fill COEF to change EAPD to verb control.
      Assigned codec type.
      
      This is an additional fix over 92f974df
      
       ("ALSA: hda/realtek - New
      vendor ID for ALC233").
      
      [ More notes:
        according to Kailang, the chip is 10ec:0235 bonding for ALC233b,
        which is equivalent with ALC255.  It's only used for Lenovo.
        The chip needs no alc_process_coef_fw() for headset unlike ALC255. ]
      
      Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ea04a1db
    • Souptick Joarder's avatar
      ALSA: pcm: Change return type to vm_fault_t · 41412fe9
      Souptick Joarder authored
      Use new return type vm_fault_t for fault handler. For
      now, this is just documenting that the function returns
      a VM_FAULT value rather than an errno. Once all instances
      are converted, vm_fault_t will become a distinct type.
      
      Commit 1c8f4220
      
       ("mm: change return type to vm_fault_t")
      
      Signed-off-by: default avatarSouptick Joarder <jrdr.linux@gmail.com>
      Reviewed-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      41412fe9
    • Souptick Joarder's avatar
      ALSA: usx2y: Change return type to vm_fault_t · 29581051
      Souptick Joarder authored
      Use new return type vm_fault_t for fault handler. For
      now, this is just documenting that the function returns
      a VM_FAULT value rather than an errno. Once all instances
      are converted, vm_fault_t will become a distinct type.
      
      Commit 1c8f4220
      
       ("mm: change return type to vm_fault_t")
      
      Signed-off-by: default avatarSouptick Joarder <jrdr.linux@gmail.com>
      Reviewed-by: default avatarMatthew Wilcox <mawilcox@microsoft.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      29581051
    • Michael Drake's avatar
      ALSA: usb-audio: ADC3: Fix channel mapping conversion for ADC3. · 8e0428a7
      Michael Drake authored
      The channel mapping is defined by bChRelationship, not bChPurpose.
      
      Fixes: 9a2fe9b8
      
       ("ALSA: usb: initial USB Audio Device Class 3.0 support")
      Reviewed-by: default avatarRuslan Bilovol <ruslan.bilovol@gmail.com>
      Signed-off-by: default avatarMichael Drake <michael.drake@codethink.co.uk>
      Signed-off-by: default avatarJorge Sanjuan <jorge.sanjuan@codethink.co.uk>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      8e0428a7
  4. Apr 24, 2018
    • Takashi Iwai's avatar
      ALSA: hda - Sanity check of access to SPDIF controls array · 08605068
      Takashi Iwai authored
      
      
      Put WARN_ON() and bail out if the given index is over the allocated
      array of the given SPDIF controls.  It's merely a sanity check to
      catch any potential issues (if any).
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      08605068
    • Takashi Sakamoto's avatar
      ALSA: dice: improve support for ancient firmware for DICE · c1a36101
      Takashi Sakamoto authored
      
      
      In early stage of firmware SDK, DICE seems to lose its backward
      compatibility due to some registers on global address section. I found
      this with Alesis Multimix 12 FireWire with ancient firmware (approx.
      shipped version).
      
      According to retrieved log from the unit, global section has 96 byte
      space. On the other hand, current version of ALSA dice driver assumes
      that all of supported unit has at least 100 byte space.
      
      $ ./firewire-request /dev/fw1 read 0xffffe0000000 28
      result: 000: 00 00 00 0a 00 00 00 18 00 00 00 22 00 00 00 8a
      result: 010: 00 00 00 ac 00 00 01 12 00 00 00 00 00 00 00 00
      result: 020: 00 00 00 00 00 00 00 00
      
      This commit adds support for the ancient firmware. Check of global section
      is loosened to accept the smaller space. The lack of information is
      already compensated by hard-coded parameters.
      
      I experienced that the latest version of Windows driver for this model
      can't handle this unit, too. This means that TCAT releases firmware SDK
      without backward compatibility for the ancient firmware.
      
      Below list is a early history of driver/firmware package released by
      Alesis. I investigated on wayback machine on Internet Archive:
       * Unknown: PAL v1.0.41.2, firmware v1.0.3
       * Mar 2006: PAL v1.54.0, firmware v1.0.4
       * Dec 2006: PAL v2.0.0.2, firmware v2.0
       * Jun 2007: PAL v3.0.41.5, firmware v2.0
       * Jul 2007: PAL v3.0.56.2. firmware v2.0
       * Jan 2008: PAL v3.0.81.1080, firmware v2.0
      
      If I can assume that firmware version is the same as DICE version, DICE
      version for the issued firmware may be v1.0.3. According to code base of
      userspace driver project (FFADO), I can read DICE v1.0.4 supports global
      space larger than 100 byte. I guess the smaller space of global section is
      a feature of DICE v1.0.3.
      
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c1a36101
    • Takashi Sakamoto's avatar
      ALSA: dice: fix OUI for TC group · 10412c42
      Takashi Sakamoto authored
      OUI for TC Electronic is 0x000166, for TC GROUP A/S. 0x001486 is for Echo
      Digital Audio Corporation.
      
      Fixes: 7cafc65b
      
       ('ALSA: dice: force to add two pcm devices for listed models')
      Cc: <stable@vger.kernel.org> # v4.6+
      Reference: http://standards-oui.ieee.org/oui/oui.txt
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      10412c42
    • Takashi Iwai's avatar
      ALSA: hda - Use a macro for snd_array iteration loops · a9c2dfc8
      Takashi Iwai authored
      
      
      Introduce a new helper macro, snd_array_for_each(), to iterate for
      each snd_array element.  It slightly improves the readability than
      lengthy open codes at each place.
      
      Along with it, add const prefix to some obvious places.
      
      There should be no functional changes by this.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a9c2dfc8
    • Takashi Iwai's avatar
      ALSA: usb-audio: Skip broken EU on Dell dock USB-audio · 1d8d6428
      Takashi Iwai authored
      
      
      The Dell Dock USB-audio device with 0bda:4014 is behaving notoriously
      bad, and we have already applied some workaround to avoid the firmware
      hiccup.  Yet we still need to skip one thing, the Extension Unit at ID
      4, which doesn't react correctly to the mixer ctl access.
      
      Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1090658
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1d8d6428
    • Takashi Iwai's avatar
      ALSA: usb-audio: Fix missing endian conversion · 2b54f785
      Takashi Iwai authored
      The UAC2 jack detection support introduced the bmControls checks in a
      couple of places, but they forgot the endian conversion; the
      bmControls of UAC2 terminal descriptor is __le16, not a byte like in
      UAC1.
      
      Fixes: 5a222e84
      
       ("ALSA: usb-audio: UAC2 jack detection")
      Tested-by: default avatarAndrew Chant <achant@google.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2b54f785
  5. Apr 23, 2018
    • Takashi Iwai's avatar
      ALSA: usb-audio: Fix forgotten conversion of control query functions · 2de841ef
      Takashi Iwai authored
      The recent code refactoring made the argument for some helper
      functions to be the explicit UAC_CS_* and UAC2_CS_* value instead of
      0-based offset.  However, there was one place left forgotten, and it
      caused a regression on some devices appearing as the inconsistent
      mixer setup.
      
      This patch corrects the forgotten conversion.
      
      Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199449
      Fixes: 21e9b3e9
      
       ("ALSA: usb-audio: fix uac control query argument")
      Tested-by: default avatarNazar Mokrynskyi <nazar@mokrynskyi.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2de841ef
    • Takashi Iwai's avatar
      ALSA: control: Fix missing __user annotation · 1ba7862f
      Takashi Iwai authored
      There is one place missing __user annotation to the pointer used by
      the recent code refactoring.  Reported by sparse.
      
      Fixes: 450296f3
      
       ("ALSA: control: code refactoring TLV ioctl handler")
      Reviewed-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1ba7862f
    • Daniel Mack's avatar
      ALSA: usb-audio: add more quirks for DSD interfaces · f656891c
      Daniel Mack authored
      
      
      Based on a downstream patch from Harry ten Berge.
      
      Signed-off-by: default avatarDaniel Mack <daniel@zonque.org>
      Reported-and-tested-by: default avatar <wenyi@tianyu-wool.com>
      Original-by: default avatarHarry ten Berge <htenberge@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f656891c
    • kbuild test robot's avatar
      c4e4a8fb
    • David Henningsson's avatar
      ALSA: core: Report audio_tstamp in snd_pcm_sync_ptr · f853dcaa
      David Henningsson authored
      It looks like a simple mistake that this struct member
      was forgotten.
      
      Audio_tstamp isn't used much, and on some archs (such as x86) this
      ioctl is not used by default, so that might be the reason why this
      has slipped for so long.
      
      Fixes: 4eeaaeae
      
       ("ALSA: core: add hooks for audio timestamps")
      Signed-off-by: default avatarDavid Henningsson <diwic@ubuntu.com>
      Reviewed-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Cc: <stable@vger.kernel.org> # v3.8+
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      f853dcaa
    • Jeffery Miller's avatar
      ALSA: pcm: Return negative delays from SNDRV_PCM_IOCTL_DELAY. · 912e4c33
      Jeffery Miller authored
      The commit c2c86a97 ("ALSA: pcm: Remove set_fs() in PCM core code")
      changed SNDRV_PCM_IOCTL_DELAY to return an inconsistent error instead of a
      negative delay.  Originally the call would succeed and return the negative
      delay.  The Chromium OS Audio Server (CRAS) gets confused and hangs when
      the error is returned instead of the negative delay.
      
      Help CRAS avoid the issue by rolling back the behavior to return a
      negative delay instead of an error.
      
      Fixes: c2c86a97
      
       ("ALSA: pcm: Remove set_fs() in PCM core code")
      Signed-off-by: default avatarJeffery Miller <jmiller@neverware.com>
      Cc: <stable@vger.kernel.org> # v4.13+
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      912e4c33
    • Linus Torvalds's avatar
      Linux 4.17-rc2 · 6d08b06e
      Linus Torvalds authored
      v4.17-rc2
      6d08b06e
    • Linus Torvalds's avatar
      Merge tag 'drm-fixes-for-v4.17-rc2' of git://people.freedesktop.org/~airlied/linux · 867ab4b2
      Linus Torvalds authored
      Pull drm fixes from Dave Airlie:
       "Exynos, i915, vc4, amdgpu fixes.
      
        i915:
         - an oops fix
         - two race fixes
         - some gvt fixes
      
        amdgpu:
         - dark screen fix
         - clk/voltage fix
         - vega12 smu fix
      
        vc4:
         - memory leak fix
      
        exynos just drops some code"
      
      * tag 'drm-fixes-for-v4.17-rc2' of git://people.freedesktop.org/~airlied/linux: (23 commits)
        drm/amd/powerplay: header file interface to SMU update
        drm/amd/pp: Fix bug voltage can't be OD separately on VI
        drm/amd/display: Don't program bypass on linear regamma LUT
        drm/i915: Fix LSPCON TMDS output buffer enabling from low-power state
        drm/i915/audio: Fix audio detection issue on GLK
        drm/i915: Call i915_perf_fini() on init_hw error unwind
        drm/i915/bios: filter out invalid DDC pins from VBT child devices
        drm/i915/pmu: Inspect runtime PM state more carefully while estimating RC6
        drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
        drm/exynos: exynos_drm_fb -> drm_framebuffer
        drm/exynos: Move dma_addr out of exynos_drm_fb
        drm/exynos: Move GEM BOs to drm_framebuffer
        drm: Fix HDCP downstream dev count read
        drm/vc4: Fix memory leak during BO teardown
        drm/i915/execlists: Clear user-active flag on preemption completion
        drm/i915/gvt: Add drm_format_mod update
        drm/i915/gvt: Disable primary/sprite/cursor plane at virtual display initialization
        drm/i915/gvt: Delete redundant error message in fb_decode.c
        drm/i915/gvt: Cancel dma map when resetting ggtt entries
        drm/i915/gvt: Missed to cancel dma map for ggtt entries
        ...
      867ab4b2
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 221bda4b
      Dave Airlie authored
      - Fix a dark screen issue in DC
      - Fix clk/voltage dependency tracking for wattman
      - Update SMU interface for vega12
      
      * 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux:
        drm/amd/powerplay: header file interface to SMU update
        drm/amd/pp: Fix bug voltage can't be OD separately on VI
        drm/amd/display: Don't program bypass on linear regamma LUT
      221bda4b
    • Dave Airlie's avatar
      Merge tag 'exynos-drm-fixes-for-v4.17-rc2' of... · 2e1d6eab
      Dave Airlie authored
      Merge tag 'exynos-drm-fixes-for-v4.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
      
      Remove Exynos specific framebuffer structure and
      relevant functions.
      - it removes exynos_drm_fb structure which is a wrapper of
        drm_framebuffer and unnecessary two exynos specific callback
        functions, exynos_drm_destory() and exynos_drm_fb_create_handle()
        because we can reuse existing drm common callback ones instead.
      
      * tag 'exynos-drm-fixes-for-v4.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos:
        drm/exynos: exynos_drm_fb -> drm_framebuffer
        drm/exynos: Move dma_addr out of exynos_drm_fb
        drm/exynos: Move GEM BOs to drm_framebuffer
        drm/amdkfd: Deallocate SDMA queues correctly
        drm/amdkfd: Fix scratch memory with HWS enabled
      2e1d6eab
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2018-04-19' of... · bc9ebca2
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2018-04-19' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      - Fix for FDO #105549: Avoid OOPS on bad VBT (Jani)
      - Fix rare pre-emption race (Chris)
      - Fix RC6 race against PM transitions (Tvrtko)
      
      * tag 'drm-intel-next-fixes-2018-04-19' of git://anongit.freedesktop.org/drm/drm-intel:
        drm/i915/audio: Fix audio detection issue on GLK
        drm/i915: Call i915_perf_fini() on init_hw error unwind
        drm/i915/bios: filter out invalid DDC pins from VBT child devices
        drm/i915/pmu: Inspect runtime PM state more carefully while estimating RC6
        drm/i915: Do no use kfree() to free a kmem_cache_alloc() return value
        drm/i915/execlists: Clear user-active flag on preemption completion
        drm/i915/gvt: Add drm_format_mod update
        drm/i915/gvt: Disable primary/sprite/cursor plane at virtual display initialization
        drm/i915/gvt: Delete redundant error message in fb_decode.c
        drm/i915/gvt: Cancel dma map when resetting ggtt entries
        drm/i915/gvt: Missed to cancel dma map for ggtt entries
        drm/i915/gvt: Make MI_USER_INTERRUPT nop in cmd parser
        drm/i915/gvt: Mark expected switch fall-through in handle_g2v_notification
        drm/i915/gvt: throw error on unhandled vfio ioctls
      bc9ebca2