Skip to content

Commit

Permalink
Revert "drm/amdkfd: Change vega10_noretry default to 1"
Browse files Browse the repository at this point in the history
This reverts commit 3b1e4a9.
This commit was causing stability issues due to a known CWSR HW problem.

Bug: SWDEV-141899
Change-Id: Icfb6234be7c37b0b09169d10c14b13ba46587a9f
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
  • Loading branch information
Felix Kuehling authored and Felix Kuehling committed Jan 12, 2018
1 parent e56b858 commit b7aee45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager_v9.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ static int update_qpd_v9(struct device_queue_manager *dqm,
qpd->sh_mem_config =
SH_MEM_ALIGNMENT_MODE_UNALIGNED <<
SH_MEM_CONFIG__ALIGNMENT_MODE__SHIFT;
if (vega10_noretry &&
!dqm->dev->device_info->is_need_iommu_device)
if (vega10_noretry)
qpd->sh_mem_config |=
1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT;

Expand Down
4 changes: 2 additions & 2 deletions drivers/gpu/drm/amd/amdkfd/kfd_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ module_param(ignore_crat, int, 0444);
MODULE_PARM_DESC(ignore_crat,
"Ignore CRAT table during KFD initialization (0 = use CRAT (default), 1 = ignore CRAT)");

int vega10_noretry = 1;
int vega10_noretry;
module_param_named(noretry, vega10_noretry, int, 0644);
MODULE_PARM_DESC(noretry,
"Set sh_mem_config.retry_disable on Vega10 (0 = retry enabled, 1 = retry disabled (default))");
"Set sh_mem_config.retry_disable on Vega10 (0 = retry enabled (default), 1 = retry disabled)");

int priv_cp_queues;
module_param(priv_cp_queues, int, 0644);
Expand Down

0 comments on commit b7aee45

Please sign in to comment.