Skip to contentSkip to conversation

Patch "drm/amdgpu: disable runtime pm in certain cases" has been added to the 4.8-stable tree

PATCH [email protected] 1 participant 1 message Nov 15, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

drm/amdgpu: disable runtime pm in certain cases

to the 4.8-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
drm-amdgpu-disable-runtime-pm-in-certain-cases.patch
and it can be found in the queue-4.8 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 84b1528e8cef55274f0df20e93513b3060ce495a Mon Sep 17 00:00:00 2001

From: Alex Deucher <[email protected]>
Date: Mon, 31 Oct 2016 11:02:31 -0400
Subject: drm/amdgpu: disable runtime pm in certain cases
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Alex Deucher <[email protected]>

commit 84b1528e8cef55274f0df20e93513b3060ce495a upstream.

If the platform does not support hybrid graphics or ATPX dGPU power control.

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +2 -0
@@ -99,6 +99,8 @@ int amdgpu_driver_load_kms(struct drm_de
 
 	if ((amdgpu_runtime_pm != 0) &&
 	    amdgpu_has_atpx() &&
+	    (amdgpu_is_atpx_hybrid() ||
+	     amdgpu_has_atpx_dgpu_power_cntl()) &&
 	    ((flags & AMD_IS_APU) == 0))
 		flags |= AMD_IS_PX;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.8/drm-radeon-disable-runtime-pm-in-certain-cases.patch queue-4.8/drm-amdgpu-fix-crash-in-acp_hw_fini.patch queue-4.8/drm-amdgpu-disable-runtime-pm-in-certain-cases.patch