diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2020-05-07 09:57:09 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-05-08 14:33:21 -0400 |
commit | f0d69678083ff0478b752c15b017d00135f03cbc (patch) | |
tree | 5e766c2404d6b728c4e9488b32e5493548c95220 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 0da4a419a27a7b290b4923a7051fc6cfd92f2a0c (diff) | |
download | linux-f0d69678083ff0478b752c15b017d00135f03cbc.tar.bz2 |
drm/amdgpu: drop pm_runtime_set_active
The pci core handles this for us in pci_pm_init.
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index ea7e72ecaefa..df9260a8d1b5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c @@ -192,7 +192,6 @@ int amdgpu_driver_load_kms(struct drm_device *dev, unsigned long flags) dev_pm_set_driver_flags(dev->dev, DPM_FLAG_NEVER_SKIP); pm_runtime_use_autosuspend(dev->dev); pm_runtime_set_autosuspend_delay(dev->dev, 5000); - pm_runtime_set_active(dev->dev); pm_runtime_allow(dev->dev); pm_runtime_mark_last_busy(dev->dev); pm_runtime_put_autosuspend(dev->dev); |