Hi Dave, 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 The following changes since commit 694f54f680f7fd8e9561928fbfc537d9afbc3d79: Merge branch 'drm-misc-next-fixes' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2018-03-29 09:25:13 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.17 for you to fetch changes up to c60e22f7199b5fe7cee4007ccb3b27bb8a506476: drm/amdgpu: Fix memory leaks at amdgpu_init() error path (2018-04-03 13:08:46 -0500) ---------------------------------------------------------------- Alex Deucher (3): drm/amdgpu/sdma: fix mask in emit_pipeline_sync drm/amdgpu/si: implement get/set pcie_lanes asic callback drm/amdgpu: Fix PCIe lane width calculation Andrey Grodzovsky (2): drm/amdgpu: Fix KIQ hang on bare metal for device unbind/bind back v2. drm/amdgpu: Add support for SRBM selection v3 Chunming Zhou (2): drm/amdgpu: fix typo of domain fallback Revert "drm/amdgpu: Don't change preferred domian when fallback GTT v5" Dan Carpenter (1): drm/amd/pp: silence a static checker warning Eric Huang (1): drm/amd/powerply: fix power reading on Fiji Evan Quan (1): drm/amdgpu: drop compute ring timeout setting for non-sriov only (v2) Kenneth Feng (1): drm/amd/powerplay: Enable ACG SS feature Paul Parsons (1): drm/radeon: Fix PCIe lane width calculation Rex Zhu (2): drm/amd/pp: Remove Dead functions on Vega12 drm/amd/pp: Clean header file in vega12_smumgr.c Takashi Iwai (1): drm/amdgpu: Fix memory leaks at amdgpu_init() error path drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 + drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 117 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 16 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 18 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 7 + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 7 + drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 7 + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 61 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/si.c | 67 + drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +- drivers/gpu/drm/amd/include/atomfirmware.h | 12 +- drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c | 10 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.h | 10 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 3 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu8_hwmgr.c | 8 +- drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c | 23 +- .../gpu/drm/amd/powerplay/hwmgr/vega12_powertune.c | 1364 -------------------- .../gpu/drm/amd/powerplay/hwmgr/vega12_powertune.h | 53 - .../amd/powerplay/hwmgr/vega12_processpptables.c | 11 +- .../drm/amd/powerplay/inc/vega12/smu9_driver_if.h | 14 +- .../gpu/drm/amd/powerplay/smumgr/vega12_smumgr.c | 6 +- drivers/gpu/drm/radeon/si_dpm.c | 4 +- 29 files changed, 299 insertions(+), 1556 deletions(-) delete mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_powertune.c delete mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/vega12_powertune.h