Skip to content

Commit

Permalink
drm/amdgpu: Set noretry of recoverable page faults
Browse files Browse the repository at this point in the history
Disable retry as default in order to increase the performance.

Change-Id: I84bc7c18169c6d7855f2d0e5c7eb2b6728baa612
Signed-off-by: Gang Ba <gaba@amd.com>
  • Loading branch information
Gang Ba authored and Kent Russell committed Apr 1, 2019
1 parent f6ee396 commit f0a0ccf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,14 +650,14 @@ MODULE_PARM_DESC(ignore_crat,

/**
* DOC: noretry (int)
* This parameter sets sh_mem_config.retry_disable. Default value, 0, enables retry.
* Setting 1 disables retry.
* This parameter sets sh_mem_config.retry_disable. Default value, 1, disable retry.
* Setting 0 enables retry.
* Retry is needed for recoverable page faults.
*/
int noretry;
int noretry = 1;
module_param(noretry, int, 0644);
MODULE_PARM_DESC(noretry,
"Set sh_mem_config.retry_disable on Vega10 (0 = retry enabled (default), 1 = retry disabled)");
"Set sh_mem_config.retry_disable on Vega10 (1 = retry disabled (default), 0 = retry enabled)");

/**
* DOC: halt_if_hws_hang (int)
Expand Down

0 comments on commit f0a0ccf

Please sign in to comment.