diff options
| author | Dave Airlie <[email protected]> | 2016-11-07 09:40:40 +1000 | 
|---|---|---|
| committer | Dave Airlie <[email protected]> | 2016-11-07 09:40:40 +1000 | 
| commit | 672c98915891285b04b97ea6112c7db507903595 (patch) | |
| tree | 27e58a0c33041f19fc6f97e50be21f5e4dad17ef /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | bc33b0ca11e3df467777a4fa7639ba488c9d4911 (diff) | |
| parent | 245ae5e915853ced749eb47a343749cf0a9c4109 (diff) | |
Merge branch 'drm-fixes-4.9' of git://people.freedesktop.org/~agd5f/linux into drm-fixes
A few more fixes for 4.9.
* 'drm-fixes-4.9' of git://people.freedesktop.org/~agd5f/linux:
  drm/amdgpu: add some error handling to amdgpu_init v2
  drm/amd: fix scheduler fence teardown order v2
  drm/amd/powerplay: don't succeed in getters if fan is missing
  drm/amdgpu: make sure ddc_bus is valid in connector unregister
  drm/radeon: Fix kernel panic on shutdown
  drm/amdgpu: disable runtime pm in certain cases
  drm/radeon: disable runtime pm in certain cases
  drm/amdgpu: add support for new smc firmware on iceland
  drm/amdgpu: add support for new smc firmware on tonga
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index 203d98b00555..3938fca1ea8e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -99,6 +99,8 @@ int amdgpu_driver_load_kms(struct drm_device *dev, unsigned long flags)  	if ((amdgpu_runtime_pm != 0) &&  	    amdgpu_has_atpx() && +	    (amdgpu_is_atpx_hybrid() || +	     amdgpu_has_atpx_dgpu_power_cntl()) &&  	    ((flags & AMD_IS_APU) == 0))  		flags |= AMD_IS_PX; |