aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86
diff options
context:
space:
mode:
authorAhsan Hussain <ahsan_hussain@mentor.com>2017-05-10 14:48:53 +0500
committerAhsan Hussain <ahsan_hussain@mentor.com>2017-05-10 14:48:53 +0500
commitb31b71cd5c83b60a1b52599c5c7aef20ff991690 (patch)
treeefc979545db5cc83b0edc1dd0cd8b506c629bf18 /meta-amdfalconx86
parent58e6dfac736c87e7059530a251ccbf2c05608a2c (diff)
downloadmeta-amd-b31b71cd5c83b60a1b52599c5c7aef20ff991690.tar.gz
meta-amd-b31b71cd5c83b60a1b52599c5c7aef20ff991690.tar.bz2
meta-amd-b31b71cd5c83b60a1b52599c5c7aef20ff991690.zip
amdgpu: Disable Power Gating as a workaround
This is a workaround for hang issues with compute shaders. Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
Diffstat (limited to 'meta-amdfalconx86')
-rw-r--r--meta-amdfalconx86/conf/machine/amdfalconx86.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-amdfalconx86/conf/machine/amdfalconx86.conf b/meta-amdfalconx86/conf/machine/amdfalconx86.conf
index 648510db..81c1f235 100644
--- a/meta-amdfalconx86/conf/machine/amdfalconx86.conf
+++ b/meta-amdfalconx86/conf/machine/amdfalconx86.conf
@@ -41,6 +41,9 @@ KERNEL_SERIAL_CONSOLE ?= "console=ttyS0,115200n8"
# Enable powerplay
APPEND += "amdgpu.powerplay=1"
+# Disable GPU powergating as a workaround
+APPEND += "amdgpu.pg_mask=0"
+
TOOLCHAIN_HOST_TASK_append_mel = " ${@bb.utils.contains('INCLUDE_VULKAN', 'yes', "nativesdk-glslang", "", d)}"
MACHINEOVERRIDES =. "amd:amdx86:amdgpu:"