1. 11 Apr, 2018 2 commits
    • Huang Rui's avatar
      drm/amdgpu: fix null pointer panic with direct fw loading on gpu reset · 2d4f9020
      Huang Rui authored
      When system uses fw direct loading, then psp context structure won't be
      initiliazed. And it is also unable to execute mode reset.
      
      [  434.601474] amdgpu 0000:0c:00.0: GPU reset begin!
      [  434.694326] amdgpu 0000:0c:00.0: GPU reset
      [  434.743152] BUG: unable to handle kernel NULL pointer dereference at
      0000000000000058
      [  434.838474] IP: psp_gpu_reset+0xc/0x30 [amdgpu]
      [  434.893532] PGD 406ed9067
      [  434.893533] P4D 406ed9067
      [  434.926376] PUD 400b46067
      [  434.959217] PMD 0
      [  435.033379] Oops: 0000 [#1] SMP
      [  435.072573] Modules linked in: amdgpu(OE) chash(OE) gpu_sched(OE) ttm(OE)
      drm_kms_helper(OE) drm(OE) fb_sys_fops syscopyarea sysfillrect sysimgblt
      rpcsec_gss_krb5 auth_rpcgss nfsv4 nfs lockd grace fscache snd_hda_codec_realtek
      snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec
      snd_hda_core snd_hwdep snd_pcm edac_mce_amd snd_seq_midi snd_seq_midi_event
      kvm_amd snd_rawmidi kvm irqbypass crct10dif_pclmul crc32_pclmul snd_seq
      ghash_clmulni_intel snd_seq_device pcbc snd_timer eeepc_wmi aesni_intel snd
      asus_wmi aes_x86_64 sparse_keymap crypto_simd glue_helper joydev soundcore
      wmi_bmof cryptd video i2c_piix4 shpchp 8250_dw i2c_designware_platform mac_hid
      i2c_designware_core sunrpc parport_pc ppdev lp parport autofs4 hid_generic igb
      usbhid dca ptp mxm_wmi pps_core ahci hid i2c_algo_bit
      [  435.931754]  libahci wmi
      Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
      Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      2d4f9020
    • Nico Sneck's avatar
      drm/radeon: add PX quirk for Asus K73TK · b1550359
      Nico Sneck authored
      With this the dGPU turns on correctly.
      Signed-off-by: default avatarNico Sneck <nicosneck@hotmail.com>
      Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
      Cc: stable@vger.kernel.org
      b1550359
  2. 10 Apr, 2018 2 commits
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 871e899d
      Dave Airlie authored
      A few fixes for 4.17:
      - Fix a potential use after free in a error case
      - Fix pcie lane handling in amdgpu SI dpm
      - sdma pipeline sync fix
      - A few vega12 cleanups and fixes
      - Misc other fixes
      
      * 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux:
        drm/amdgpu: Fix memory leaks at amdgpu_init() error path
        drm/amdgpu: Fix PCIe lane width calculation
        drm/radeon: Fix PCIe lane width calculation
        drm/amdgpu/si: implement get/set pcie_lanes asic callback
        drm/amdgpu: Add support for SRBM selection v3
        Revert "drm/amdgpu: Don't change preferred domian when fallback GTT v5"
        drm/amd/powerply: fix power reading on Fiji
        drm/amd/powerplay: Enable ACG SS feature
        drm/amdgpu/sdma: fix mask in emit_pipeline_sync
        drm/amdgpu: Fix KIQ hang on bare metal for device unbind/bind back v2.
        drm/amd/pp: Clean header file in vega12_smumgr.c
        drm/amd/pp: Remove Dead functions on Vega12
        drm/amd/pp: silence a static checker warning
        drm/amdgpu: drop compute ring timeout setting for non-sriov only (v2)
        drm/amdgpu: fix typo of domain fallback
      871e899d
    • Dave Airlie's avatar
      Merge tag 'drm-misc-next-fixes-2018-04-04' of... · c975f17d
      Dave Airlie authored
      Merge tag 'drm-misc-next-fixes-2018-04-04' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
      
      hda_intel: Don't declare azx PM ops if VGA_SWITCHEROO configured (Lukas)
      
      Cc: Lukas Wunner <lukas@wunner.de>
      Cc: Takashi Iwai <tiwai@suse.de>
      
      * tag 'drm-misc-next-fixes-2018-04-04' of git://anongit.freedesktop.org/drm/drm-misc:
        ALSA: hda - Silence PM ops build warning
      c975f17d
  3. 03 Apr, 2018 15 commits
  4. 29 Mar, 2018 1 commit
  5. 28 Mar, 2018 4 commits
    • Dave Airlie's avatar
      Merge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc into drm-next · 694f54f6
      Dave Airlie authored
      - Mask mode type garbage from userspace (Ville)
      
      Something went wrong on the misc tree side, but I'll pull the patch directly.
      
      * 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc:
        drm: Fix uabi regression by allowing garbage mode->type from userspace
      694f54f6
    • Dave Airlie's avatar
      Merge tag 'drm-amdkfd-next-2018-03-27' of git://people.freedesktop.org/~gabbayo/linux into drm-next · 9f36f9c8
      Dave Airlie authored
      - GPUVM support for dGPUs
      - KFD events support for dGPUs
      - Fix live-lock situation when restoring multiple evicted processes
      - Fix VM page table allocation on large-bar systems
      - Fix for build failure on frv architecture
      
      * tag 'drm-amdkfd-next-2018-03-27' of git://people.freedesktop.org/~gabbayo/linux:
        drm/amdkfd: Use ordered workqueue to restore processes
        drm/amdgpu: Fix acquiring VM on large-BAR systems
        drm/amdkfd: Add module option for testing large-BAR functionality
        drm/amdkfd: Kmap event page for dGPUs
        drm/amdkfd: Add ioctls for GPUVM memory management
        drm/amdkfd: Add TC flush on VMID deallocation for Hawaii
        drm/amdkfd: Allocate CWSR trap handler memory for dGPUs
        drm/amdkfd: Add per-process IDR for buffer handles
        drm/amdkfd: Aperture setup for dGPUs
        drm/amdkfd: Remove limit on number of GPUs
        drm/amdkfd: Populate DRM render device minor
        drm/amdkfd: Create KFD VMs on demand
        drm/amdgpu: Add kfd2kgd interface to acquire an existing VM
        drm/amdgpu: Add helper to turn an existing VM into a compute VM
        drm/amdgpu: Fix initial validation of PD BO for KFD VMs
        drm/amdgpu: Move KFD-specific fields into struct amdgpu_vm
        drm/amdkfd: fix uninitialized variable use
        drm/amdkfd: add missing include of mm.h
      9f36f9c8
    • Dave Airlie's avatar
      Merge tag 'drm-intel-next-fixes-2018-03-27' of... · cb17aa52
      Dave Airlie authored
      Merge tag 'drm-intel-next-fixes-2018-03-27' of git://anongit.freedesktop.org/drm/drm-intel into drm-next
      
      - Display fixes for booting with MST hub lid closed and display
        freezing after hibernation (fd.o bugs 105470 & 105196)
      - Fix for a very rare interrupt handling race resulting in GPU hang
      
      * tag 'drm-intel-next-fixes-2018-03-27' of git://anongit.freedesktop.org/drm/drm-intel:
        drm/i915: Fix hibernation with ACPI S0 target state
        drm/i915/execlists: Use a locked clear_bit() for synchronisation with interrupt
        drm/i915: Specify which engines to reset following semaphore/event lockups
        drm/i915/dp: Write to SET_POWER dpcd to enable MST hub.
      cb17aa52
    • Dave Airlie's avatar
      Backmerge tag 'v4.16-rc7' into drm-next · 2b4f44ee
      Dave Airlie authored
      Linux 4.16-rc7
      
      This was requested by Daniel, and things were getting
      a bit hard to reconcile, most of the conflicts were
      trivial though.
      2b4f44ee
  6. 27 Mar, 2018 4 commits
  7. 26 Mar, 2018 1 commit
    • Dave Airlie's avatar
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 33d009cd
      Dave Airlie authored
      Last pull for 4.17.  Highlights:
      - Vega12 support
      - A few more bug fixes and cleanups for powerplay
      
      * 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux: (77 commits)
        drm/amd/pp: clean header file hwmgr.h
        drm/amd/pp: use mlck_table.count for array loop index limit
        drm/amdgpu: Add an ATPX quirk for hybrid laptop
        drm/amdgpu: fix spelling mistake: "asssert" -> "assert"
        drm/amd/pp: Add new asic support in pp_psm.c
        drm/amd/pp: Clean up powerplay code on Vega12
        drm/amd/pp: Add smu irq handlers for legacy asics
        drm/amd/pp: Fix set wrong temperature range on smu7
        drm/amdgpu: Don't change preferred domian when fallback GTT v5
        drm/amdgpu: Fix NULL ptr on driver unload due to init failure.
        drm/amdgpu: fix "mitigate workaround for i915"
        drm/amd/pp: Add smu irq handlers in sw_init instand of hw_init
        drm/amd/pp: Refine register_thermal_interrupt function
        drm/amdgpu: Remove wrapper layer of cgs irq handling
        drm/amd/powerplay: Return per DPM level clock
        drm/amd/powerplay: Remove the SOC floor voltage setting
        drm/amdgpu: no job timeout setting on compute queues
        drm/amdgpu: add vega12 pci ids (v2)
        drm/amd/powerplay: add the hw manager for vega12 (v4)
        drm/amd/powerplay: add the smu manager for vega12 (v4)
        ...
      33d009cd
  8. 25 Mar, 2018 10 commits
  9. 24 Mar, 2018 1 commit