mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-04 21:59:33 +07:00
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>
This commit is contained in:
parent
deff2b024a
commit
af27c649b6
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user