diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-06-25 09:42:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-25 09:42:25 -0400 |
commit | d7929c1e13e3788e7cb741d75b5baec5e53eff21 (patch) | |
tree | cf513071edfc4499b4e025e4846244c9d0e4c6bd /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
parent | 8ac875db0fdc1cfa55c424b38a81cf5282f3df0b (diff) | |
parent | 80d42db02b3a5beb8cffba08207adf5f4c525ee3 (diff) |
Merge branch 'drm-next' into drm-next-5.3
Backmerge drm-next and fix up conflicts due to drmP.h removal.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index 2f4b03b4e882..495613c3b126 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -22,7 +22,9 @@ | |||
22 | * Authors: Rafał Miłecki <zajec5@gmail.com> | 22 | * Authors: Rafał Miłecki <zajec5@gmail.com> |
23 | * Alex Deucher <alexdeucher@gmail.com> | 23 | * Alex Deucher <alexdeucher@gmail.com> |
24 | */ | 24 | */ |
25 | #include <drm/drmP.h> | 25 | |
26 | #include <drm/drm_debugfs.h> | ||
27 | |||
26 | #include "amdgpu.h" | 28 | #include "amdgpu.h" |
27 | #include "amdgpu_drv.h" | 29 | #include "amdgpu_drv.h" |
28 | #include "amdgpu_pm.h" | 30 | #include "amdgpu_pm.h" |
@@ -31,6 +33,7 @@ | |||
31 | #include "amdgpu_smu.h" | 33 | #include "amdgpu_smu.h" |
32 | #include "atom.h" | 34 | #include "atom.h" |
33 | #include <linux/power_supply.h> | 35 | #include <linux/power_supply.h> |
36 | #include <linux/pci.h> | ||
34 | #include <linux/hwmon.h> | 37 | #include <linux/hwmon.h> |
35 | #include <linux/hwmon-sysfs.h> | 38 | #include <linux/hwmon-sysfs.h> |
36 | #include <linux/nospec.h> | 39 | #include <linux/nospec.h> |
@@ -2749,7 +2752,6 @@ int amdgpu_pm_load_smu_firmware(struct amdgpu_device *adev, uint32_t *smu_versio | |||
2749 | { | 2752 | { |
2750 | int r; | 2753 | int r; |
2751 | 2754 | ||
2752 | |||
2753 | if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->load_firmware) { | 2755 | if (adev->powerplay.pp_funcs && adev->powerplay.pp_funcs->load_firmware) { |
2754 | r = adev->powerplay.pp_funcs->load_firmware(adev->powerplay.pp_handle); | 2756 | r = adev->powerplay.pp_funcs->load_firmware(adev->powerplay.pp_handle); |
2755 | if (r) { | 2757 | if (r) { |