diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c index 4376b17ca594..56f8ca2a3bb4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |||
@@ -464,8 +464,7 @@ static int amdgpu_atif_handler(struct amdgpu_device *adev, | |||
464 | } | 464 | } |
465 | } | 465 | } |
466 | if (req.pending & ATIF_DGPU_DISPLAY_EVENT) { | 466 | if (req.pending & ATIF_DGPU_DISPLAY_EVENT) { |
467 | if ((adev->flags & AMD_IS_PX) && | 467 | if (adev->flags & AMD_IS_PX) { |
468 | amdgpu_atpx_dgpu_req_power_for_displays()) { | ||
469 | pm_runtime_get_sync(adev->ddev->dev); | 468 | pm_runtime_get_sync(adev->ddev->dev); |
470 | /* Just fire off a uevent and let userspace tell us what to do */ | 469 | /* Just fire off a uevent and let userspace tell us what to do */ |
471 | drm_helper_hpd_irq_event(adev->ddev); | 470 | drm_helper_hpd_irq_event(adev->ddev); |