Hi Dave, A few more patches for amdgpu and radeon for 4.8. The big change is the additional power feature enablement for polaris that was pending the 4.7 back merge. The rest are mainly bug fixes and cleanups. The following changes since commit 162b20d2f9ef9dfa833cc329b1e8957beb672349: Merge branch 'drm-next-4.8' of git://people.freedesktop.org/~agd5f/linux into drm-next (2016-07-28 05:51:39 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.8 for you to fetch changes up to d4ccb71d7abbceb438b2b55c0606b14fb03f01df: drm/amd/powerplay: remove enable_clock_power_gatings_tasks from initialize and resume events (2016-07-29 14:37:13 -0400) ---------------------------------------------------------------- Alex Deucher (6): drm/radeon: fix firmware info version checks drm/amdgpu: fix firmware info version checks drm/amdgpu: init atpx at switcheroo register time (v2) drm/radeon: init atpx at switcheroo register time v2 drm/radeon: drop confusing message about backlight control drm/amdgpu/powerplay: partial revert of endian fixes Bhaktipriya Shridhar (1): drm/radeon: Remove deprecated create_singlethread_workqueue Christian König (13): drm/amdgpu: implement UVD VM mode for Stoney v2 drm/amdgpu: increment driver minor drm/amdgpu: fix indentation in struct amdgpu_ring drm/amdgpu: remove fence_lock drm/amdgpu: add begin/end_use ring callbacks drm/amdgpu: use begin/end_use for UVD power/clock gating drm/amdgpu: use begin/end_use for VCE power/clock gating drm/amdgpu: move UVD IB test into common code v2 drm/amdgpu: add a fence timeout for the IB tests v2 drm/ttm: partial revert "cleanup ttm_tt_(unbind|destroy)" v3 drm/amdgpu: enable UVD VM only on polaris drm/amdgpu: fix default UVD context size drm/amdgpu: enable UVD context buffer for older HW Chunming Zhou (3): drm/amd: reset hw count when reset job drm/amd: fix deadlock of job_list_lock V2 drm/amdgpu: increase timeout of IB test Edward O'Callaghan (7): drivers/amdgpu: Remove spurious semicolons drivers/amdgpu: Use 'true/false' for bool typed variables drivers/amdgpu: Use canonical form in branch predicates drivers/amdgpu: Remove redundant NULL check before kfree() drivers/amdgpu: Remove redundant casts on kzalloc() calls drivers/amdgpu: Use canonical boolean form in various predicates drivers/amdgpu: Remove redundant itermediate return val Huang Rui (5): drm/amdgpu: make amdgpu_cgs_call_acpi_method as static drm/amdgpu: fix incorrect type of info_id drm/amd/powerplay: rename smum header guards drm/amdgpu: add new definition in bif header drm/amdgpu: add query device id and revision id into system info entry at CGS Leo Liu (1): drm/amdgpu: free handles after fini the context Lyude (1): drm/amdgpu: Disable RPM helpers while reprobing connectors on resume Markus Elfring (7): GPU-DRM-Radeon: Delete an unnecessary check before drm_gem_object_unreference_unlocked() drm/amdgpu: Delete an unnecessary check before drm_gem_object_unreference_unlocked() drm/amdgpu: One function call less in amdgpu_cgs_acpi_eval_object() after error detection drm/amdgpu: Delete a variable in amdgpu_cgs_acpi_eval_object() drm/amdgpu: Delete an unnecessary variable initialisation in amdgpu_cgs_acpi_eval_object() drm/amdgpu: Change assignment for a variable in amdgpu_cgs_acpi_eval_object() drm/amd/powerplay: Change assignment for a buffer variable in phm_dispatch_table() v2 Nicholas Mc Guire (1): drm/radeon/ci add comment to document intentionally unreachable code Nils Wallménius (2): drm/amd/powerplay: Mark functions of ppevvmath.h static drm/amd/powerplay: Delete unused functions in ppevvmath.h Rex Zhu (7): drm/amd/powerplay: populate SMC ACPI minimum voltage using VBIOS boot SCLK and MCLK drm/amd/powerplay: enable DiDt feature for polaris10/11. drm/amd/powerplay: fix typo error when set clock gate state. Revert "drm/amd/powerplay: workaround issue that when uvd dpm disabled," drm/amdgpu: add bypass mode for vce3.0 drm/amd/powerplay: fix issue can't enable vce dpm. drm/amdgpu: add destroy session when generate VCE destroy msg. SF Markus Elfring (1): drm/amd/powerplay: Delete an unnecessary variable initialisation in phm_dispatch_table() Slava Grigorev (1): drm/amdgpu: comment out unused defaults_staturn_pro static const structure to fix the build Tom St Denis (2): drm/amd/powerplay: move clockgating to after ungating power in pp for uvd/vce drm/amd/powerplay: remove enable_clock_power_gatings_tasks from initialize and resume events jimqu (1): drm/amdgpu: correct coding style drivers/gpu/drm/amd/amdgpu/amdgpu.h | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c | 25 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c | 14 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 38 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 16 + drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 89 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h | 3 + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 70 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 4 +- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 4 +- drivers/gpu/drm/amd/amdgpu/cik.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 21 +- drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 2 +- drivers/gpu/drm/amd/amdgpu/fiji_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 19 +- drivers/gpu/drm/amd/amdgpu/iceland_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/iceland_smum.h | 4 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 21 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 21 +- drivers/gpu/drm/amd/amdgpu/tonga_smc.c | 2 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 47 +- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 47 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 111 +++-- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 2 + drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 21 +- .../gpu/drm/amd/include/asic_reg/bif/bif_5_0_d.h | 1 + .../gpu/drm/amd/include/asic_reg/uvd/uvd_6_0_d.h | 2 + drivers/gpu/drm/amd/include/cgs_common.h | 12 +- drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 2 +- .../drm/amd/powerplay/eventmgr/eventactionchains.c | 2 - .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 14 +- drivers/gpu/drm/amd/powerplay/hwmgr/cz_hwmgr.c | 6 +- .../amd/powerplay/hwmgr/fiji_clockpowergating.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c | 30 +- .../gpu/drm/amd/powerplay/hwmgr/functiontables.c | 9 +- drivers/gpu/drm/amd/powerplay/hwmgr/hwmgr.c | 2 +- .../powerplay/hwmgr/polaris10_clockpowergating.c | 16 +- .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 77 ++- .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.h | 2 +- .../drm/amd/powerplay/hwmgr/polaris10_powertune.c | 531 +++++++++++++++++++++ .../drm/amd/powerplay/hwmgr/polaris10_powertune.h | 11 +- drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 2 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c | 4 +- drivers/gpu/drm/amd/powerplay/hwmgr/ppevvmath.h | 165 +++---- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 105 ++-- .../amd/powerplay/hwmgr/tonga_processpptables.c | 24 +- .../gpu/drm/amd/powerplay/smumgr/tonga_smumgr.c | 3 +- drivers/gpu/drm/amd/scheduler/gpu_scheduler.c | 12 +- drivers/gpu/drm/radeon/ci_dpm.c | 5 +- drivers/gpu/drm/radeon/radeon_acpi.c | 7 - drivers/gpu/drm/radeon/radeon_atombios.c | 4 +- drivers/gpu/drm/radeon/radeon_atpx_handler.c | 2 +- drivers/gpu/drm/radeon/radeon_display.c | 6 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 1 + drivers/gpu/drm/ttm/ttm_tt.c | 19 +- include/drm/ttm/ttm_bo_driver.h | 9 + 63 files changed, 1176 insertions(+), 564 deletions(-)