aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeifei Xu <Feifei.Xu@amd.com>2019-08-15 23:08:52 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-08-21 23:16:18 -0400
commit51bfac71cade386966791a8db87a5912781d249f (patch)
treea2e9c866f17529d61750d49ddb694c7d302f125a
parentc5fb912653dae3f8785d7aa0ae156b0eb56fc76f (diff)
drm/amdgpu: Set no-retry as default.
This is to improve performance. Signed-off-by: Feifei Xu <Feifei.Xu@amd.com> Tested-by: Candice Li <candice.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 098269bd9600..688b51a2ef1e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -143,7 +143,7 @@ int amdgpu_async_gfx_ring = 1;
143int amdgpu_mcbp = 0; 143int amdgpu_mcbp = 0;
144int amdgpu_discovery = -1; 144int amdgpu_discovery = -1;
145int amdgpu_mes = 0; 145int amdgpu_mes = 0;
146int amdgpu_noretry; 146int amdgpu_noretry = 1;
147 147
148struct amdgpu_mgpu_info mgpu_info = { 148struct amdgpu_mgpu_info mgpu_info = {
149 .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex), 149 .mutex = __MUTEX_INITIALIZER(mgpu_info.mutex),
@@ -611,7 +611,7 @@ MODULE_PARM_DESC(mes,
611module_param_named(mes, amdgpu_mes, int, 0444); 611module_param_named(mes, amdgpu_mes, int, 0444);
612 612
613MODULE_PARM_DESC(noretry, 613MODULE_PARM_DESC(noretry,
614 "Disable retry faults (0 = retry enabled (default), 1 = retry disabled)"); 614 "Disable retry faults (0 = retry enabled, 1 = retry disabled (default))");
615module_param_named(noretry, amdgpu_noretry, int, 0644); 615module_param_named(noretry, amdgpu_noretry, int, 0644);
616 616
617#ifdef CONFIG_HSA_AMD 617#ifdef CONFIG_HSA_AMD