XXX: hack: use atpx rather than HG for runpm v2

Submitted by Alex Deucher on Aug. 21, 2019, 10:20 p.m.

Details

Message ID 20190821222034.13387-4-alexander.deucher@amd.com
State New
Headers show
Series "drm/amdgpu: add atpx quirk handling" ( rev: 4 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher Aug. 21, 2019, 10:20 p.m.
force power control even if ATPX claims to not support it.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
index c13c51af0b68..1816f8189e87 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c
@@ -210,8 +210,8 @@  static int amdgpu_atpx_validate(struct amdgpu_atpx *atpx)
 		 * Disable legacy PM methods only when pcie port PM is usable,
 		 * otherwise the device might fail to power off or power on.
 		 */
-		atpx->functions.power_cntl = !amdgpu_atpx_priv.bridge_pm_usable;
-		atpx->is_hybrid = true;
+		atpx->functions.power_cntl = true;//!amdgpu_atpx_priv.bridge_pm_usable;
+//		atpx->is_hybrid = true;
 	}
 
 	atpx->dgpu_req_power_for_displays = false;