[pull] amdgpu, amdkfd, ttm drm-next-5.2

2019-04-02 Thread Alex Deucher
Hi Dave, Daniel,

Same pull as last week, but with a warning fix on top.

The following changes since commit fbac3c48fa6b4cfa43eaae39d5a53269bff7ec5f:

  Merge branch 'drm-next-5.1' of git://people.freedesktop.org/~agd5f/linux into 
drm-next (2019-02-22 15:56:42 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 7a65bdc6903d4cae56855eceabfd8f879a3b8f6e:

  drm/amdgpu/smu11: fix warning on 32bit arches (2019-04-02 09:10:55 -0500)


Alex Deucher (13):
  drm/amdgpu/powerplay: add missing breaks in polaris10_smumgr
  drm/amdgpu/powerplay: add BACO support for vega12
  drm/amdgpu/powerplay: split out common smu9 BACO code
  drm/amdgpu: use BACO on vega12 if platform supports it
  drm/amdgpu/display: fix build when DCN KCONFIG is not set
  Revert "drm/amdgpu: more descriptive message if HMM not enabled"
  Revert "drm/amdgpu: support userptr cross VMAs case with HMM"
  Revert "drm/amdkfd: support concurrent userptr update for HMM"
  Revert "drm/amdgpu: fix HMM config dependency issue"
  Revert "drm/amdgpu: replace get_user_pages with HMM mirror helpers"
  Revert "drm/amdkfd: avoid HMM change cause circular lock"
  Revert "drm/amdgpu: use HMM callback to replace mmu notifier"
  drm/amdgpu/smu11: fix warning on 32bit arches

Andrey Grodzovsky (2):
  drm/amdgpu: Add sysfs entries  for xgmi hive v2.
  drm/amdgpu: Move IB pool init and fini v2

Anthony Koo (5):
  drm/amd/display: Fix issue with link_active state not correct for MST
  drm/amd/display: make seamless boot work generically
  drm/amd/display: Fix exception from AUX acquire failure
  drm/amd/display: Keep clocks high before seamless boot done
  drm/amd/display: Fix soft hang issue when some DPCD data invalid

Aric Cyr (6):
  drm/amd/display: 3.2.20
  drm/amd/display: 3.2.21
  drm/amd/display: Add a hysteresis to BTR frame multiplier
  drm/amd/display: 3.2.22
  drm/amd/display: 3.2.23
  drm/amd/display: 3.2.24

Candice Li (1):
  Revert "drm/amdgpu: use BACO reset on vega20 if platform support"

Charlene Liu (6):
  drm/amd/display: Add disable triple buffering DC debug option
  drm/amd/display: dcn add check surface in_use
  Revert "drm/amd/display: dcn add check surface in_use"
  drm/amd/display: Add pp_smu null pointer check
  drm/amd/display: add HW i2c arbitration with dmcu
  drm/amd/display: fix DP 422 VID_M half the rate issue.

Chengming Gui (21):
  drm/amd/powerplay: implement power_dpm_state sys interface for SMU11
  drm/amd/powerplay: add watermarks related data structs and function for 
SMU11.
  drm/amd/powerplay: implement pp_power_profile_mode sys inerface for SMU11
  drm/amd/powerplay: add display_config to handle display config for SMU11.
  drm/amd/powerplay: add mclk_latency_table struct and smu_clocks struct 
for SMU11
  drm/amd/powerplay: add enable_umd_pstate functions for SMU11
  drm/amd/powerplay: add get_profiling_clk_mask functions for SMU11
  drm/amd/powerplay: add set_uclk_to_highest_level for SMU11
  drm/amd/powerplay: add display_config_changed for SMU11.
  drm/amd/powerplay: add apply_clock_adjust_rules for SMU11.
  drm/amd/powerplay: add vega20_notify_smc_display_config functions for 
SMU11
  drm/amd/powerplay: add vega20_find/force_higest/lowest_dpm for SMU11 (v2)
  drm/amd/powerplay: add vega20_unforce_dpm_levels for SMU11.
  drm/amd/powerplay: implement power_dpm_force_performance_level for SMU11
  drm/amd/powerplay: implement power1_cap and power1_cap_max interface for 
SMU11 (v2)
  drm/amd/powerplay: add STABLE_PSTATE_SCLK and STABLE_PSTATE_MCLK when 
read sensor for SMU11
  drm/amd/powerplay: implement pwm1 hwmon interface for SMU11 (v2)
  drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11 (v2)
  drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2)
  drm/amd/powerplay: add smu_late_init for SMU11.
  drm/amd/powerplay: add is_dpm_running for SMU11

Christian König (33):
  drm/amdgpu: clear PDs/PTs only after initializing them
  drm/amdgpu: reroute VMC and UMD to IH ring 1
  drm/amdgpu: also reroute VMC and UMD to IH ring 1 on Vega 20
  drm/amdgpu: rework shadow handling during PD clear v3
  drm/amdgpu: let amdgpu_vm_clear_bo figure out ats status v2
  drm/amdgpu: allocate VM PDs/PTs on demand
  drm/amdgpu: free PDs/PTs on demand
  drm/amdgpu: drop the huge page flag
  drm/amdgpu: allow huge invalid mappings on GMC8
  drm/amdgpu: change Vega IH ring 1 config
  drm/amdgpu: enable IH doorbell for ring 1&2 on Vega
  drm/amdgpu: enable IH ring 1&2 for Vega20 as well
  drm/amdgpu: limit the number of IVs processed at once
  drm/amdgpu: use ring/hash for fault handling on GMC9 v3
   

Re: [pull] amdgpu, amdkfd, ttm drm-next-5.2

2019-03-28 Thread Dave Airlie
On Fri, 29 Mar 2019 at 03:44, Alex Deucher  wrote:
>
> Hi Dave, Daniel,
>
> New stuff for 5.2:

32-bit arm build:

/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:
In function ‘smu_v11_0_notify_memory_pool_location’:
/home/airlied/devel/kernel/dim/src/drivers/gpu/drm/amd/amdgpu/../powerplay/smu_v11_0.c:530:12:
warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]

Please fix and resend.

Thanks,
Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[pull] amdgpu, amdkfd, ttm drm-next-5.2

2019-03-28 Thread Alex Deucher
Hi Dave, Daniel,

New stuff for 5.2:

amdgpu:
- Switch to HMM for userptr (reverted until HMM fixes land)
- New experimental SMU 11 replacement for powerplay for vega20 (not enabled by 
default)
- Initial RAS support for vega20
- BACO support for vega12
- BACO fixes for vega20
- Rework IH handling for page fault and retry interrupts
- Cleanly split CPU and GPU paths for GPUVM updates
- Powerplay fixes
- XGMI fixes
- Rework how DC interacts with atomic for planes
- Clean up and simplify DC/Powerplay interfaces
- Misc cleanups and bug fixes

amdkfd:
- Switch to HMM for userptr (reverted until HMM fixes land)
- Add initial RAS support
- MQD fixes

ttm:
- Unify DRM_FILE_PAGE_OFFSET handling
- Account for kernel allocations in kernel zone only
- Misc cleanups

The following changes since commit fbac3c48fa6b4cfa43eaae39d5a53269bff7ec5f:

  Merge branch 'drm-next-5.1' of git://people.freedesktop.org/~agd5f/linux into 
drm-next (2019-02-22 15:56:42 +1000)

are available in the Git repository at:

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

for you to fetch changes up to 296bb163e2d549c0fcae307e6aff1e407bb1a998:

  Revert "drm/amdgpu: use HMM callback to replace mmu notifier" (2019-03-28 
10:16:12 -0500)


Alex Deucher (12):
  drm/amdgpu/powerplay: add missing breaks in polaris10_smumgr
  drm/amdgpu/powerplay: add BACO support for vega12
  drm/amdgpu/powerplay: split out common smu9 BACO code
  drm/amdgpu: use BACO on vega12 if platform supports it
  drm/amdgpu/display: fix build when DCN KCONFIG is not set
  Revert "drm/amdgpu: more descriptive message if HMM not enabled"
  Revert "drm/amdgpu: support userptr cross VMAs case with HMM"
  Revert "drm/amdkfd: support concurrent userptr update for HMM"
  Revert "drm/amdgpu: fix HMM config dependency issue"
  Revert "drm/amdgpu: replace get_user_pages with HMM mirror helpers"
  Revert "drm/amdkfd: avoid HMM change cause circular lock"
  Revert "drm/amdgpu: use HMM callback to replace mmu notifier"

Andrey Grodzovsky (2):
  drm/amdgpu: Add sysfs entries  for xgmi hive v2.
  drm/amdgpu: Move IB pool init and fini v2

Anthony Koo (5):
  drm/amd/display: Fix issue with link_active state not correct for MST
  drm/amd/display: make seamless boot work generically
  drm/amd/display: Fix exception from AUX acquire failure
  drm/amd/display: Keep clocks high before seamless boot done
  drm/amd/display: Fix soft hang issue when some DPCD data invalid

Aric Cyr (6):
  drm/amd/display: 3.2.20
  drm/amd/display: 3.2.21
  drm/amd/display: Add a hysteresis to BTR frame multiplier
  drm/amd/display: 3.2.22
  drm/amd/display: 3.2.23
  drm/amd/display: 3.2.24

Candice Li (1):
  Revert "drm/amdgpu: use BACO reset on vega20 if platform support"

Charlene Liu (6):
  drm/amd/display: Add disable triple buffering DC debug option
  drm/amd/display: dcn add check surface in_use
  Revert "drm/amd/display: dcn add check surface in_use"
  drm/amd/display: Add pp_smu null pointer check
  drm/amd/display: add HW i2c arbitration with dmcu
  drm/amd/display: fix DP 422 VID_M half the rate issue.

Chengming Gui (21):
  drm/amd/powerplay: implement power_dpm_state sys interface for SMU11
  drm/amd/powerplay: add watermarks related data structs and function for 
SMU11.
  drm/amd/powerplay: implement pp_power_profile_mode sys inerface for SMU11
  drm/amd/powerplay: add display_config to handle display config for SMU11.
  drm/amd/powerplay: add mclk_latency_table struct and smu_clocks struct 
for SMU11
  drm/amd/powerplay: add enable_umd_pstate functions for SMU11
  drm/amd/powerplay: add get_profiling_clk_mask functions for SMU11
  drm/amd/powerplay: add set_uclk_to_highest_level for SMU11
  drm/amd/powerplay: add display_config_changed for SMU11.
  drm/amd/powerplay: add apply_clock_adjust_rules for SMU11.
  drm/amd/powerplay: add vega20_notify_smc_display_config functions for 
SMU11
  drm/amd/powerplay: add vega20_find/force_higest/lowest_dpm for SMU11 (v2)
  drm/amd/powerplay: add vega20_unforce_dpm_levels for SMU11.
  drm/amd/powerplay: implement power_dpm_force_performance_level for SMU11
  drm/amd/powerplay: implement power1_cap and power1_cap_max interface for 
SMU11 (v2)
  drm/amd/powerplay: add STABLE_PSTATE_SCLK and STABLE_PSTATE_MCLK when 
read sensor for SMU11
  drm/amd/powerplay: implement pwm1 hwmon interface for SMU11 (v2)
  drm/amd/powerplay: implement pwm1_enable hwmon interface for SMU11 (v2)
  drm/amd/powerplay: implement fan1_enable hwmon interface for SMU11 (v2)
  drm/amd/powerplay: add smu_late_init for SMU11.
  drm/amd/powerplay: add is_dpm_running for SMU11

Christian König (33):
  drm/amdgpu: clear PDs/PTs only after initializing them
  drm/amdgpu: reroute VMC and UMD to IH ring 1