1. 16 3月, 2018 1 次提交
    • A
      drm/amdkfd: fix uninitialized variable use · 48a44387
      Arnd Bergmann 提交于
      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: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
      48a44387
  2. 15 3月, 2018 1 次提交
  3. 26 3月, 2018 1 次提交
    • D
      Merge branch 'drm-next-4.17' of git://people.freedesktop.org/~agd5f/linux into drm-next · 33d009cd
      Dave Airlie 提交于
      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
  4. 23 3月, 2018 12 次提交
  5. 22 3月, 2018 25 次提交