diff options
author | Feifei Xu <Feifei.Xu@amd.com> | 2019-08-15 23:08:52 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-21 23:16:18 -0400 |
commit | 51bfac71cade386966791a8db87a5912781d249f (patch) | |
tree | a2e9c866f17529d61750d49ddb694c7d302f125a | |
parent | c5fb912653dae3f8785d7aa0ae156b0eb56fc76f (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.c | 4 |
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; | |||
143 | int amdgpu_mcbp = 0; | 143 | int amdgpu_mcbp = 0; |
144 | int amdgpu_discovery = -1; | 144 | int amdgpu_discovery = -1; |
145 | int amdgpu_mes = 0; | 145 | int amdgpu_mes = 0; |
146 | int amdgpu_noretry; | 146 | int amdgpu_noretry = 1; |
147 | 147 | ||
148 | struct amdgpu_mgpu_info mgpu_info = { | 148 | struct 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, | |||
611 | module_param_named(mes, amdgpu_mes, int, 0444); | 611 | module_param_named(mes, amdgpu_mes, int, 0444); |
612 | 612 | ||
613 | MODULE_PARM_DESC(noretry, | 613 | MODULE_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))"); |
615 | module_param_named(noretry, amdgpu_noretry, int, 0644); | 615 | module_param_named(noretry, amdgpu_noretry, int, 0644); |
616 | 616 | ||
617 | #ifdef CONFIG_HSA_AMD | 617 | #ifdef CONFIG_HSA_AMD |