[pull] radeon and amdgpu drm-next-4.11
Hi Dave, Some additional fixes for 4.11. Delayed a bit due to Chinese New Year. Highlights: - Powerplay fixes - VCE and UVD powergating fixes - Clean up amdgpu SI gfx code to match CI and VI - Misc bug fixes The following changes since commit 18566acac18f5784347bc5fe636a26897d1c963b: Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next (2017-02-01 08:43:42 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.11 for you to fetch changes up to fad061270ac43ff9eed315f0eae7c40b694592de: drm/amdgpu: report the number of bytes moved at buffer creation (2017-02-09 11:29:44 -0500) Alex Deucher (1): drm/amdgpu: add support for new smc firmware on polaris Arnd Bergmann (1): drm/amdgpu: shut up #warning for compile testing Christian König (2): drm/amdgpu: fix race in GEM VA map IOCTL v2 drm/amdgpu: stop reserving a shared fence for VA updates Colin Ian King (1): drm/amdgpu/virt: fix double kfree on bo_va Dan Carpenter (1): drm/radeon: remove some dead code Flora Cui (7): drm/amdgpu/gfx6: clean up rb configuration drm/amdgpu/gfx6: clean up cu configuration drm/amdgpu/gfx6: clean up spi configuration drm/amdgpu: refine si_read_register drm/amdgpu: update VERDE_GB_ADDR_CONFIG_GOLDEN drm/amdgpu: update HAINAN_GB_ADDR_CONFIG_GOLDEN drm/amd/gfx6: update gb_addr_config Jérôme Glisse (1): drm/radeon: avoid kernel segfault in vce when gpu fails to resume Rex Zhu (14): drm/amdgpu: when dpm disabled, also can enable uvd cg/pg. drm/amdgpu: add current_pg_status register define for smu7.1 drm/amdgpu: power down/up uvd4 when smu disabled. drm/amdgpu: refine uvd pg code in kv_dpm.c drm/amdgpu: refine uvd4.2 init/stop code. drm/amdgpu: fix uvd can't initialized when dpm disabled on Ci. drm/amdgpu: refine uvd5.0/6.0 code. drm/amdgpu: when dpm disabled, also need to stop/start vce. drm/amdgpu: refine code for VCE2.0 and related dpm code. drm/amdgpu: enable vce pg feature on Kv. drm/amdgpu: move subfunctions to the front of vce_v2_0.c. drm/amdgpu: refine vce3.0 code and related powerplay pg code. drm/amd/powerplay: set fan speed to max in profile peak mode only. drm/amd/powerplay: refine code to avoid potential bug that the memory not cleared. Samuel Pitoiset (2): drm/amdgpu: fix a potential deadlock in amdgpu_bo_create_restricted() drm/amdgpu: report the number of bytes moved at buffer creation drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c| 33 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 3 +- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c| 54 +-- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 13 +- drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 12 +- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c| 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c| 9 + drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 1 - drivers/gpu/drm/amd/amdgpu/ci_dpm.c| 29 +- drivers/gpu/drm/amd/amdgpu/cik.c | 4 +- drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 216 -- drivers/gpu/drm/amd/amdgpu/kv_dpm.c| 68 +--- drivers/gpu/drm/amd/amdgpu/si.c| 90 +++- drivers/gpu/drm/amd/amdgpu/si_enums.h | 4 +- drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c | 128 -- drivers/gpu/drm/amd/amdgpu/uvd_v5_0.c | 24 +- drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 21 +- drivers/gpu/drm/amd/amdgpu/vce_v2_0.c | 451 +++-- drivers/gpu/drm/amd/amdgpu/vce_v3_0.c | 17 +- .../gpu/drm/amd/include/asic_reg/smu/smu_7_0_1_d.h | 1 + .../drm/amd/powerplay/hwmgr/cz_clockpowergating.c | 74 ++-- .../amd/powerplay/hwmgr/smu7_clockpowergating.c| 23 +- drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 22 +- drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c | 2 + drivers/gpu/drm/radeon/radeon_bios.c | 4 +- drivers/gpu/drm/radeon/vce_v1_0.c | 2 +- 27 files changed, 682 insertions(+), 633 deletions(-) ___ amd-gfx mailing list amd-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/amd-gfx
[pull] radeon and amdgpu drm-next-4.11
Hi Dave, This is the main feature pull for radeon and amdgpu for 4.11. Highlights: - Power and clockgating improvements - Preliminary SR-IOV support - ttm buffer priority support - ttm eviction fixes - Removal of the ttm lru callbacks - Remove SI DPM quirks due to MC firmware issues - Handle VFCT with multiple vbioses - Powerplay improvements - Lots of driver cleanups The following changes since commit a5b2b6ebf34b20e70a2bdb5214c371744e7fa260: drm/sti: Fix compilation failure for drm_framebuffer.pixel_format (2017-01-27 12:54:15 +1000) are available in the git repository at: git://people.freedesktop.org/~agd5f/linux drm-next-4.11 for you to fetch changes up to 268c3001842cb179b54a2825dad9b70151bf4de6: drm/amdgpu: fix amdgpu_bo_va_mapping flags (2017-01-27 12:20:45 -0500) Alex Deucher (7): drm/amdgpu: use the num_rings variable for checking vce rings drm/amdgpu: drop pitcairn dpm quirks drm/radeon: drop pitcairn dpm quirks drm/amdgpu: remove unused header si_reg.h drm/amdgpu: move misc si headers into amdgpu drm/radeon: handle vfct with multiple vbios images drm/amdgpu: handle vfct with multiple vbios images Amber Lin (1): drm/amdgpu: PCI I/O bar can be disabled Andrey Grodzovsky (2): drm/amdgpu: Switch error code when bo pin fails. (v3) drm/amdgpu: Refactor flip into prepare submit and submit. (v3) Arindam Nath (1): drm/amd/amdgpu: get maximum and used UVD handles (v4) Arvind Yadav (2): drm/amd/amdgpu/amdgpu_ttm: Handle return NULL error from ioremap_nocache drm: radeon: radeon_ttm: Handle return NULL error from ioremap_nocache Christian König (9): drm/ttm: remove allow_errors parameter from ttm_bo_force_list_clean drm/ttm: add BO priorities for the LRUs drm/amdgpu: user BO priority instead of self coding it (v2) drm/amdgpu: double the priority of kernel allocations drm/ttm: revert "implement LRU add callbacks v2" drm/ttm: revert "add optional LRU removal callback v2" drm/amdgpu: access stolen VRAM directly on KV/KB (v2) drm/amdgpu: access stolen VRAM directly on CZ (v2) drm/amdgpu: fix amdgpu_bo_va_mapping flags Harry Wentland (2): drm/amd/amdgpu: Add HDMI_DATA_SCRAMBLE register definition drm/amd/amdgpu: Add DPHY_SCRAM_CNTL register defines Huang Rui (20): drm/amd/powerplay: add callbacks to move smc firmware request into sw_init phase drm/amd/powerplay: add request_firmware/release_firmware for smu7 drm/amd/powerplay: fix request smc_sk firmware case drm/amdgpu: cleanup useless smu_ucode_xfer_vi.h drm/amdgpu: cleanup useless extern functions drm/amd/powerplay: add prefix for all powerplay pr_* prints drm/amd/powerplay: reshuffle headers to make pr_fmt macro before drm/amd/powerplay: refine print message for amd_powerplay drm/amd/powerplay: update all printk to pr_* on eventmgr drm/amd/powerplay: update all printk to pr_* on hwmgr drm/amd/powerplay: update all printk to pr_* on smumgr drm/amdgpu: introduce an interface to get clock gating status dynamically drm/amdgpu: add parse clock gating state drm/amdgpu: add get clockgating_state method for gfx v8 drm/amdgpu: add get clockgating_state method for gmc v8 drm/amdgpu: add get clockgating_state method for sdma v3 drm/amdgpu: add get clockgating_state method for vi common drm/amdgpu: add get clockgating_state method for uvd v5 drm/amdgpu: add get clockgating_state method for vce v3 drm/amdgpu: fix typo of CGTS Julia Lawall (1): drm/amdgpu/gfx8: fix bugon.cocci warnings Junwei Zhang (1): drm/amd/amdgpu: remove the uncessary parameter for ib scheduler Kees Cook (1): drm/amdgpu: use designated initializers Ken Xue (1): drm/amdgpu: Refine the way to get atom bios Monk Liu (11): drm/amdgpu:new field members for SRIOV drm/amdgpu:add new file for SRIOV drm/amdgpu:invoke CSA functions (v2) drm/amdgpu:add META_DATA struct for CSA/SRIOV v2 drm/amdgpu:implement ring_write_multiple drm/amdgpu:implement CE/DE meta-init routines drm/amdgpu:introduce new flag to identify VM domain for cntx_ctrl drm/amdgpu:in cntx_ctrl we need insert meta-init for CE/DE(V2) drm/amdgpu:set cond_exec polling value to 1 in ring_init drm/amdgpu:Preamble is forbid to be ignored in SRIOV drm/amdgpu:insert switch buffer only for VM submit Nicolai Hähnle (7): drm/ttm: add evict parameter to ttm_bo_driver::move_notify drm/amd/amdgpu: move eviction counting to amdgpu_bo_move_notify drm/amd/amdgpu: add amdgpu_bo_gpu_accessible helper function drm/amd/amdgpu: add check that shadow page directory is GPU-accessible drm/amd/amdgpu: add check that shadow page tables are GPU-accessible drm/amd/amdgpu: lock reservation object