diff options
| author | Hawking Zhang <[email protected]> | 2020-12-31 05:05:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-01-05 16:31:41 +0000 |
| commit | fdcf016746ca21677fe64c5e1a5850157f17e9c9 (patch) | |
| tree | cbf6126febdc2792df82bb251c50bb2f7f142d6e /drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | |
| parent | drm/amdgpu: remove unnecessary asic check for sdma5.2 (diff) | |
| download | kernel-fdcf016746ca21677fe64c5e1a5850157f17e9c9.tar.gz kernel-fdcf016746ca21677fe64c5e1a5850157f17e9c9.zip | |
drm/amdgpu: switched to cached noretry setting for vangogh
global noretry setting is cached to gmc.noretry
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c index b72c8e4ca36b..07104a1de308 100644 --- a/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c +++ b/drivers/gpu/drm/amd/amdgpu/mmhub_v2_3.c @@ -310,7 +310,7 @@ static void mmhub_v2_3_setup_vmid_config(struct amdgpu_device *adev) /* Send no-retry XNACK on fault to suppress VM fault storm. */ tmp = REG_SET_FIELD(tmp, MMVM_CONTEXT1_CNTL, RETRY_PERMISSION_OR_INVALID_PAGE_FAULT, - !amdgpu_noretry); + !adev->gmc.noretry); WREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_CNTL, i * hub->ctx_distance, tmp); WREG32_SOC15_OFFSET(MMHUB, 0, mmMMVM_CONTEXT1_PAGE_TABLE_START_ADDR_LO32, |
