Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: remove ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check when hotplug-in

In amdgpu_atif_handler, when hotplug event received, remove
ATPX_DGPU_REQ_POWER_FOR_DISPLAYS check. This bit's check will cause missing
system resume.

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

authored by

Aaron Liu and committed by
Alex Deucher
bdb1ccb0 42244923

+1 -2
+1 -2
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
··· 464 464 } 465 465 } 466 466 if (req.pending & ATIF_DGPU_DISPLAY_EVENT) { 467 - if ((adev->flags & AMD_IS_PX) && 468 - amdgpu_atpx_dgpu_req_power_for_displays()) { 467 + if (adev->flags & AMD_IS_PX) { 469 468 pm_runtime_get_sync(adev->ddev->dev); 470 469 /* Just fire off a uevent and let userspace tell us what to do */ 471 470 drm_helper_hpd_irq_event(adev->ddev);