[pull] amdgpu drm-next-4.13

2017-07-05 Thread Alex Deucher
Hi Dave,

Fixes for 4.13:
- Various fixes for Raven
- Various fixes for Vega10
- Stability fixes for KIQ
- Fix reloading the driver
- Fix S3 on vega10
- Misc other fixes

The following changes since commit 12d016626f99f48edbf5b006625b4e8c0de1eec7:

  Merge tag 'drm-amdkfd-next-2017-06-25' of 
git://people.freedesktop.org/~gabbayo/linux into drm-next (2017-06-28 17:09:27 
+1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.13

for you to fetch changes up to 593f546eee2fdbe055380ee82de568c0a1775551:

  drm/amd/powerplay: fix bug fail to remove sysfs when rmmod amdgpu. 
(2017-07-05 13:18:50 -0400)


Alex Deucher (6):
  drm/amd/powerplay/cz: print message if smc message fails
  drm/amdgpu/psp: upper_32_bits/lower_32_bits for address setup
  drm/amdgpu: fix vblank_time when displays are off
  drm/amdgpu/cgs: always set reference clock in mode_info
  drm/amdgpu/gfx8: fix driver reload with KIQ
  drm/amdgpu/gfx9: fix driver reload with KIQ

Alex Xie (2):
  drm/amdgpu/cs: fix a typo in a comment
  drm/amdgpu: Make amdgpu_cs_parser_init static (v2)

Arnd Bergmann (1):
  drm/amdgpu: fix typo in amdgpu_debugfs_test_ib_init

Eric Huang (2):
  drm/amd/powerplay: change PPSMC_MSG_GetCurrPkgPwr for Vega10
  drm/amd/powerplay: power value format change for Vega10

Flora Cui (1):
  drm/amdgpu: Fix the exported always on CU bitmap

Hawking Zhang (4):
  drm/amdgpu: add mmhub pg init sequence on raven
  drm/amdgpu: add interface to enable/disable mmhub pg on raven
  drm/amdgpu: add new flag AMD_PG_SUPPORT_MMHUB
  drm/amdgpu: enable mmhub pg on raven

Huang Rui (1):
  drm/amdgpu: fix the memory corruption on S3

Jim Qu (1):
  drm/amd/amdgpu: move get memory type function from early init to sw init

John Brooks (2):
  drm/ttm: Fix use-after-free in ttm_bo_clean_mm
  drm/amdgpu: Don't call amd_powerplay_destroy() if we don't have powerplay

Michel Dänzer (1):
  amdgpu: Set cik/si_support to 1 by default if radeon isn't built

Nicolai Hähnle (1):
  drm/amdgpu/gfx9: support the amdgpu.disable_cu option

Rex Zhu (3):
  drm/amdgpu: fix vulkan test performance drop and hang on VI
  drm/amd/powerplay: add support for ATOM GFXCLK table v2.
  drm/amd/powerplay: fix bug fail to remove sysfs when rmmod amdgpu.

kbuild test robot (1):
  drm/amdgpu/gfx9: gfx_v9_0_enable_gfx_static_mg_power_gating() can be 
static

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c|   6 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |   4 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|  17 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|   2 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c  |   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c|  19 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c  |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c  |   4 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c  | 100 ++--
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c  |  81 ++-
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c  |  16 +-
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c  |   9 +
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c| 218 +
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.h|   3 +
 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c |  12 +-
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c  |  12 +-
 drivers/gpu/drm/amd/amdgpu/soc15.c |   3 +-
 drivers/gpu/drm/amd/include/amd_shared.h   |   1 +
 drivers/gpu/drm/amd/include/vi_structs.h   | 268 +
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c |  23 +-
 .../gpu/drm/amd/powerplay/hwmgr/vega10_pptable.h   |   9 +
 .../amd/powerplay/hwmgr/vega10_processpptables.c   |  42 +++-
 drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h   |   4 +-
 drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c   |   2 +-
 drivers/gpu/drm/ttm/ttm_bo.c   |   4 +-
 include/uapi/drm/amdgpu_drm.h  |   3 +
 28 files changed, 687 insertions(+), 197 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[pull] amdgpu drm-next-4.13

2017-06-19 Thread Alex Deucher
Hi Dave,

Take two.  More stuff for 4.13:
- Semaphore support using sync objects
- Optimize bo list ioctl
Drop fb_location changes for now

The following changes since commit 925344ccc91d7a7fd84cab2dece1c34bbd86fd8c:

  BackMerge tag 'v4.12-rc5' into drm-next (2017-06-16 13:58:27 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.13

for you to fetch changes up to 5ac55629d6b3fcde69f46aa772c6e83be0bdcbbf:

  drm/amdgpu: Optimize mutex usage (v4) (2017-06-19 17:31:22 -0400)


Alex Deucher (1):
  drm/amdgpu: don't check the default value for vm size

Alex Xie (2):
  drm/amdgpu: Optimization of AMDGPU_BO_LIST_OP_CREATE (v2)
  drm/amdgpu: Optimize mutex usage (v4)

Dave Airlie (2):
  amdgpu/cs: split out fence dependency checking (v2)
  amdgpu: use drm sync objects for shared semaphores (v6)

 drivers/gpu/drm/amd/amdgpu/amdgpu.h |   5 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c |  89 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c  | 181 +---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c  |   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |   2 +-
 include/uapi/drm/amdgpu_drm.h   |   6 +
 6 files changed, 210 insertions(+), 77 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: [pull] amdgpu drm-next-4.13

2017-06-19 Thread Alex Deucher
On Mon, Jun 19, 2017 at 3:18 PM, Alex Deucher  wrote:
> Hi Dave,
>
> A few more things for 4.13:
> - Semaphore support using sync objects
> - Drop fb location programming
> - Optimize bo list ioctl

Ignore this one.  Andres reported a regression today related to the fb
location changes.  I'll drop them and send out a new request.

Alex

>
> The following changes since commit 925344ccc91d7a7fd84cab2dece1c34bbd86fd8c:
>
>   BackMerge tag 'v4.12-rc5' into drm-next (2017-06-16 13:58:27 +1000)
>
> are available in the git repository at:
>
>   git://people.freedesktop.org/~agd5f/linux drm-next-4.13
>
> for you to fetch changes up to aa2b544346b1fcee6504f47052a9267d44ba24bc:
>
>   drm/amdgpu: Optimize mutex usage (v4) (2017-06-19 15:07:06 -0400)
>
> 
> Alex Deucher (9):
>   drm/amdgpu: don't check the default value for vm size
>   drm/amdgpu/gmc8: use the vram location programmed by the vbios
>   drm/amdgpu/gmc7: use the vram location programmed by the vbios
>   drm/amdgpu/gmc6: use the vram location programmed by the vbios
>   drm/amdgpu/gmc8: drop fb location programming
>   drm/amdgpu/gmc7: drop fb location programming
>   drm/amdgpu/gmc6: drop fb location programming
>   drm/amdgpu: drop set_vga_render_state from display funcs
>   drm/amdgpu: remove *_mc_access from display funcs
>
> Alex Xie (2):
>   drm/amdgpu: Optimization of AMDGPU_BO_LIST_OP_CREATE (v2)
>   drm/amdgpu: Optimize mutex usage (v4)
>
> Dave Airlie (2):
>   amdgpu/cs: split out fence dependency checking (v2)
>   amdgpu: use drm sync objects for shared semaphores (v6)
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu.h |   9 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c |  89 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c  | 181 
> +---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c  |  10 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |   2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h|  12 --
>  drivers/gpu/drm/amd/amdgpu/dce_v10_0.c  | 131 
>  drivers/gpu/drm/amd/amdgpu/dce_v11_0.c  |  76 
>  drivers/gpu/drm/amd/amdgpu/dce_v6_0.c   | 114 --
>  drivers/gpu/drm/amd/amdgpu/dce_v8_0.c   |  78 
>  drivers/gpu/drm/amd/amdgpu/dce_virtual.c|  98 ++-
>  drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c   |  38 ++
>  drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c   |  35 ++
>  drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c   |  34 ++
>  include/uapi/drm/amdgpu_drm.h   |   6 +
>  15 files changed, 273 insertions(+), 640 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[pull] amdgpu drm-next-4.13

2017-06-19 Thread Alex Deucher
Hi Dave,

A few more things for 4.13:
- Semaphore support using sync objects
- Drop fb location programming
- Optimize bo list ioctl

The following changes since commit 925344ccc91d7a7fd84cab2dece1c34bbd86fd8c:

  BackMerge tag 'v4.12-rc5' into drm-next (2017-06-16 13:58:27 +1000)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.13

for you to fetch changes up to aa2b544346b1fcee6504f47052a9267d44ba24bc:

  drm/amdgpu: Optimize mutex usage (v4) (2017-06-19 15:07:06 -0400)


Alex Deucher (9):
  drm/amdgpu: don't check the default value for vm size
  drm/amdgpu/gmc8: use the vram location programmed by the vbios
  drm/amdgpu/gmc7: use the vram location programmed by the vbios
  drm/amdgpu/gmc6: use the vram location programmed by the vbios
  drm/amdgpu/gmc8: drop fb location programming
  drm/amdgpu/gmc7: drop fb location programming
  drm/amdgpu/gmc6: drop fb location programming
  drm/amdgpu: drop set_vga_render_state from display funcs
  drm/amdgpu: remove *_mc_access from display funcs

Alex Xie (2):
  drm/amdgpu: Optimization of AMDGPU_BO_LIST_OP_CREATE (v2)
  drm/amdgpu: Optimize mutex usage (v4)

Dave Airlie (2):
  amdgpu/cs: split out fence dependency checking (v2)
  amdgpu: use drm sync objects for shared semaphores (v6)

 drivers/gpu/drm/amd/amdgpu/amdgpu.h |   9 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c |  89 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c  | 181 +---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c  |  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h|  12 --
 drivers/gpu/drm/amd/amdgpu/dce_v10_0.c  | 131 
 drivers/gpu/drm/amd/amdgpu/dce_v11_0.c  |  76 
 drivers/gpu/drm/amd/amdgpu/dce_v6_0.c   | 114 --
 drivers/gpu/drm/amd/amdgpu/dce_v8_0.c   |  78 
 drivers/gpu/drm/amd/amdgpu/dce_virtual.c|  98 ++-
 drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c   |  38 ++
 drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c   |  35 ++
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c   |  34 ++
 include/uapi/drm/amdgpu_drm.h   |   6 +
 15 files changed, 273 insertions(+), 640 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[pull] amdgpu drm-next-4.13

2017-06-15 Thread Alex Deucher
Hi Dave,

A few more patches for 4.13.  Mostly bug fixes and code cleanup.  This is on
top of my pull request from last week.

The following changes since commit b58c11314a1706bf094c489ef5cb28f76478c704:

  drm/amdgpu: drop deprecated drm_get_pci_dev and drm_put_dev (2017-06-08 
10:54:39 -0400)

are available in the git repository at:

  git://people.freedesktop.org/~agd5f/linux drm-next-4.13

for you to fetch changes up to a1924005a2e9bfcc4e217b4acd0a4f2421969040:

  drm/amdgpu: Fix compiler warnings (2017-06-15 11:50:36 -0400)


Alex Deucher (3):
  drm/amdgpu/gfx: fix MEC interrupt enablement for pipes != 0
  drm/amdgpu/gfx9: fix compute ring doorbell index
  drm/amdgpu: add virtual display support for raven

Alex Xie (3):
  drm/amdgpu: remove duplicate function prototypes
  drm/amdgpu: fix a typo in comment
  drm/amdgpu: move comment to the right place

Eric Huang (3):
  drm/amd/powerplay: update vega10_ppsmc.h
  drm/amd/powerplay: add GPU power display for vega10
  drm/amd/powerplay: add avfs control for Vega10

Harish Kasiviswanathan (6):
  drm/amdgpu: Add vm context module param
  drm/amdgpu: Add amdgpu_sync_wait
  drm/amdgpu: Support page directory update via CPU
  drm/amdgpu: Support page table update via CPU
  drm/amdgpu: vm_update_ptes remove code duplication
  drm/amdgpu: Fix compiler warnings

Hawking Zhang (2):
  drm/amdgpu: add new member in gpu_info fw
  drm/amdgpu: avoid to reset wave_front_size to 0

Huang Rui (2):
  drm/amdgpu: export test ib debugfs interface
  drm/amdgpu: fix missed gpu info firmware when cache firmware during S3

Rex Zhu (1):
  drm/amd/powerplay: fix copy error in powerplay.

Tom St Denis (12):
  drm/amd/amdgpu: gfx9 tidy ups (v2)
  drm/amd/amdgpu: Rename KIQ ring to avoid spaces
  drm/amd/amdgpu: Add offset variant to SOC15 macros
  drm/amd/amdgpu: Port GFXHUB over to new SOC15 macros
  drm/amd/amdgpu: Cleanup gfxhub read-modify-write patterns
  drm/amd/amdgpu: Port MMHUB over to new SOC15 macros
  drm/amd/amdgpu: Port UVD 7.0 over to new SOC15 macros
  drm/amd/amdgpu: Port NBIO v6.1 driver over to new SOC15 macros
  drm/amd/amdgpu: Port NBIO v7.0 driver over to new SOC15 macros
  drm/amd/amdgpu: Port PSP v3.1 over to new SOC15 macros
  drm/amd/amdgpu: Port PSP v10.0 over to new SOC15 macros
  drm/amd/amdgpu: Port VCN over to new SOC15 macros

horchen (1):
  drm/amdgpu: add contiguous flag in ucode bo create

 drivers/gpu/drm/amd/amdgpu/amdgpu.h|   8 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  81 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c|   4 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c|   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c|   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c   |  19 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.h   |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c  |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h  |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 250 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h |  20 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c  |  57 +++--
 drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c  |  57 +++--
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c  |  89 
 drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c   |  37 ++-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c|  25 +--
 drivers/gpu/drm/amd/amdgpu/nbio_v6_1.c |  54 ++---
 drivers/gpu/drm/amd/amdgpu/nbio_v7_0.c |  42 ++--
 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c |  14 +-
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c  |  32 +--
 drivers/gpu/drm/amd/amdgpu/soc15.c |   2 +
 drivers/gpu/drm/amd/amdgpu/soc15_common.h  |  14 ++
 drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c  | 174 +++---
 drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c  | 164 +++---
 drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c |  27 ++-
 drivers/gpu/drm/amd/powerplay/inc/vega10_ppsmc.h   |   3 +-
 27 files changed, 765 insertions(+), 422 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel