diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1158-drm-amdkfd-Change-the-default-value-of-hws_max_conc_.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1158-drm-amdkfd-Change-the-default-value-of-hws_max_conc_.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1158-drm-amdkfd-Change-the-default-value-of-hws_max_conc_.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1158-drm-amdkfd-Change-the-default-value-of-hws_max_conc_.patch new file mode 100644 index 00000000..a74e3f25 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1158-drm-amdkfd-Change-the-default-value-of-hws_max_conc_.patch @@ -0,0 +1,35 @@ +From 10e02f70ea4e68aaa8f01ef1eb67c6307c67fe9c Mon Sep 17 00:00:00 2001 +From: Lan Xiao <Lan.Xiao@amd.com> +Date: Wed, 13 Jul 2016 16:29:39 -0400 +Subject: [PATCH 1158/4131] drm/amdkfd: Change the default value of + hws_max_conc_proc to 8 + +Change hws_max_conc_proc to 8 by default to enable the GPU +to run up to 8 processes concurrently. + +Change-Id: Icd80d80ecbdfb808be863d6f8ff6ff7546f4fccd +Signed-off-by: Lan Xiao <Lan.Xiao@amd.com> +--- + drivers/gpu/drm/amd/amdkfd/kfd_module.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_module.c b/drivers/gpu/drm/amd/amdkfd/kfd_module.c +index 3109273..914a0cd 100644 +--- a/drivers/gpu/drm/amd/amdkfd/kfd_module.c ++++ b/drivers/gpu/drm/amd/amdkfd/kfd_module.c +@@ -54,10 +54,10 @@ module_param(sched_policy, int, 0444); + MODULE_PARM_DESC(sched_policy, + "Scheduling policy (0 = HWS (Default), 1 = HWS without over-subscription, 2 = Non-HWS (Used for debugging only)"); + +-int hws_max_conc_proc = 0; ++int hws_max_conc_proc = 8; + module_param(hws_max_conc_proc, int, 0444); + MODULE_PARM_DESC(hws_max_conc_proc, +- "Max # processes HWS can execute concurrently when sched_policy=0 (0 = no concurrency (Default), #VMIDs for KFD = Maximum)"); ++ "Max # processes HWS can execute concurrently when sched_policy=0 (0 = no concurrency, #VMIDs for KFD = Maximum(default))"); + + int cwsr_enable = 1; + module_param(cwsr_enable, int, 0444); +-- +2.7.4 + |