diff options
author | 2019-06-11 11:47:24 +0000 | |
---|---|---|
committer | 2019-06-11 11:47:24 +0000 | |
commit | 96ac00dcc9eee150dc25db5de38c07f30626feda (patch) | |
tree | 1e56a26e6c77890f079666fb7e510dcd71f9b727 /sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | drm/radeon: prefer lower reference dividers (diff) | |
download | wireguard-openbsd-96ac00dcc9eee150dc25db5de38c07f30626feda.tar.xz wireguard-openbsd-96ac00dcc9eee150dc25db5de38c07f30626feda.zip |
drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in
From Aaron Liu
f3dcc88d531fd21af0c4261896eb23b455499366 in linux 4.19.y/4.19.50
bdb1ccb080dafc1b4224873a5b759ff85a7d1c10 in mainline linux
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c')
-rw-r--r-- | sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c index f008804f0b9..bbd927e800a 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_acpi.c @@ -416,8 +416,7 @@ static int amdgpu_atif_handler(struct amdgpu_device *adev, } } if (req.pending & ATIF_DGPU_DISPLAY_EVENT) { - if ((adev->flags & AMD_IS_PX) && - amdgpu_atpx_dgpu_req_power_for_displays()) { + if (adev->flags & AMD_IS_PX) { pm_runtime_get_sync(adev->ddev->dev); /* Just fire off a uevent and let userspace tell us what to do */ drm_helper_hpd_irq_event(adev->ddev); |