summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2020-05-07 11:54:49 -0400
committerAlex Deucher <alexander.deucher@amd.com>2020-05-08 14:33:30 -0400
commitaf27c649b64778f61522c60f75a06a6e9878d3e2 (patch)
tree218e5b1c9e1614047cd1b9e55ce89dc6fcc2895f /drivers/gpu
parentdeff2b024aee308cd60f376b1d77750efee93184 (diff)
drm/amdgpu: drop extra runtime pm handling in resume pmop
The core handles this for us. Acked-by: Evan Quan <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 9f9758699cb9..beb35dd12964 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -1173,14 +1173,6 @@ static int amdgpu_pmops_suspend(struct device *dev)
static int amdgpu_pmops_resume(struct device *dev)
{
struct drm_device *drm_dev = dev_get_drvdata(dev);
- struct amdgpu_device *adev = drm_dev->dev_private;
-
- /* GPU comes up enabled by the bios on resume */
- if (adev->runpm) {
- pm_runtime_disable(dev);
- pm_runtime_set_active(dev);
- pm_runtime_enable(dev);
- }
return amdgpu_device_resume(drm_dev, true);
}