1. 15 Mar, 2018 2 commits
    • Arnd Bergmann's avatar
      drm/amdkfd: fix uninitialized variable use · 48a44387
      Arnd Bergmann authored
      When CONFIG_ACPI is disabled, we never initialize the acpi_table
      structure in kfd_create_crat_image_virtual:
      
      drivers/gpu/drm/amd/amdkfd/kfd_crat.c: In function 'kfd_create_crat_image_virtual':
      drivers/gpu/drm/amd/amdkfd/kfd_crat.c:888:40: error: 'acpi_table' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      
      The undefined behavior also happens for any other acpi_get_table()
      failure, but then the compiler can't warn about it.
      
      This adds an error check that prevents the structure from
      being used in error, avoiding both the undefined behavior and
      the warning about it.
      
      Fixes: 520b8fb7 ("drm/amdkfd: Add topology support for CPUs")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      48a44387
    • Oded Gabbay's avatar
      drm/amdkfd: add missing include of mm.h · 7420f482
      Oded Gabbay authored
      This patch fixes kernel build in ARCH=frv
      Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
      7420f482
  2. 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
  3. 23 Mar, 2018 3 commits
  4. 22 Mar, 2018 30 commits
  5. 21 Mar, 2018 4 commits