[pull] amdgpu drm-next-4.7

Hi Dave, More amdgpu fixes for 4.7. Highlights: - enable async pageflips - UVD fixes for polaris - lots of GPUVM fixes - whitespace and code cleanups - misc bug fixes The following changes since commit 2e726dc4b4e2dd3ae3fe675f9d3af88a2d593ee1: Merge tag 'mediatek-drm-2016-05-09' of git://git.pengutronix.de/git/pza/linux into drm-next (2016-05-10 15:01:47 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.7 for you to fetch changes up to b4eeed590deeff13a53db641129f0301d70248f3: drm/amd/powerplay: rewrite pp_sw_init to make code readable (2016-05-11 13:30:33 -0400) ---------------------------------------------------------------- Alex Deucher (5): drm/amdgpu: fetch cu_info once at init drm/amdgpu: add missing licenses on a couple of files drm/amdgpu/dce11: don't share PLLs on Polaris drm/amdgpu: Support DRM_MODE_PAGE_FLIP_ASYNC (v2) drm/amdgpu/dce11: fix audio offset for asics with >7 audio pins Christian König (11): drm/amdgpu: two minor 80 char fixes drm/amdgpu: make the VMID owner always 64bit drm/amdgpu: remove owner cleanup v2 drm/amdgpu: remove define for reserved client ID drm/amd: cleanup remaining spaces and tabs v2 drm/amdgpu: use fence_context to judge ctx switch v2 drm/amdgpu: move preamble IB handling into common code drm/amdgpu: move context switch handling into common code v2 drm/amdgpu: move the context from the IBs into the job drm/amdgpu: move VM fields into job drm/amdgpu: fix and cleanup user fence handling v2 Chunming Zhou (5): drm/amdgpu: fix wrong release of vmid owner drm/amdgpu: add client id for every vm drm/amdgpu: make vmid owner be client_id drm/amdgpu: add pipeline sync for compute job drm/amdgpu/gfx7: fix pipeline sync Huang Rui (1): drm/amd/powerplay: rewrite pp_sw_init to make code readable Monk Liu (2): drm/amdgpu: keep vm in job instead of ib (v2) drm/amdgpu: hdp flush&inval should always do Nils Wallménius (4): drm/amd/powerplay: Use defined constants for minium engine clock drm/amdgpu: Use max macro in *get_sleep_divider_id_from_clock drm/amdgpu: Simplify calculation in *get_sleep_divider_id_from_clock drm/amdgpu: Drop unused parameter for *get_sleep_divider_id_from_clock Sonny Jiang (1): amdgpu/uvd: separate context buffer from DPB Tom St Denis (3): drm/amd/amdgpu: Enable CG for UVD6 on Carrizo drm/amd/amdgpu: Add name field to amd_ip_funcs (v2) drm/amd/amdgpu: Added more named DRM info messages for debugging drivers/gpu/drm/amd/amdgpu/amdgpu.h | 92 +++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 104 ++++++++++----------- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 24 ++--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gds.h | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | 81 ++++++++-------- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 30 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 9 +- drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h | 4 +- drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c | 7 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | 70 ++++++++++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 13 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 21 ++--- drivers/gpu/drm/amd/amdgpu/atom.h | 2 +- drivers/gpu/drm/amd/amdgpu/ci_dpm.c | 14 ++- drivers/gpu/drm/amd/amdgpu/cik.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_ih.c | 3 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 8 +- drivers/gpu/drm/amd/amdgpu/cikd.h | 4 +- drivers/gpu/drm/amd/amdgpu/cz_dpm.c | 1 + drivers/gpu/drm/amd/amdgpu/cz_ih.c | 3 +- drivers/gpu/drm/amd/amdgpu/cz_smumgr.h | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 26 ++++-- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 32 ++++--- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 21 +++-- drivers/gpu/drm/amd/amdgpu/fiji_dpm.c | 1 + drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 70 ++++++-------- drivers/gpu/drm/amd/amdgpu/gfx_v7_0.h | 1 - drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c | 37 ++++---- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.h | 1 - drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c | 1 + drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 1 + drivers/gpu/drm/amd/amdgpu/iceland_dpm.c | 1 + drivers/gpu/drm/amd/amdgpu/iceland_ih.c | 1 + drivers/gpu/drm/amd/amdgpu/kv_dpm.c | 11 +-- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 8 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 8 +- drivers/gpu/drm/amd/amdgpu/tonga_dpm.c | 1 + drivers/gpu/drm/amd/amdgpu/tonga_ih.c | 1 + drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 4 +- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 4 +- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 1 + drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 7 +- drivers/gpu/drm/amd/amdgpu/vi.c | 5 +- drivers/gpu/drm/amd/amdgpu/vid.h | 5 +- drivers/gpu/drm/amd/include/amd_shared.h | 2 + drivers/gpu/drm/amd/powerplay/amd_powerplay.c | 16 ++-- drivers/gpu/drm/amd/powerplay/hwmgr/fiji_hwmgr.c | 16 ++-- .../gpu/drm/amd/powerplay/hwmgr/polaris10_hwmgr.c | 14 +-- drivers/gpu/drm/amd/powerplay/hwmgr/pp_acpi.c | 23 +++++ drivers/gpu/drm/amd/powerplay/hwmgr/ppatomctrl.c | 4 +- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.c | 19 ++-- drivers/gpu/drm/amd/powerplay/hwmgr/tonga_hwmgr.h | 18 ++-- drivers/gpu/drm/amd/powerplay/inc/hwmgr.h | 2 +- .../gpu/drm/amd/powerplay/inc/smu_ucode_xfer_cz.h | 22 +++++ drivers/gpu/drm/amd/scheduler/gpu_scheduler.h | 2 +- 62 files changed, 513 insertions(+), 395 deletions(-)