diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2022-09-07 17:46:58 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-19 22:06:13 +0300 |
commit | 876552e5d50178cabaad015a464f116c1944739f (patch) | |
tree | 64c3cafbe70dc909e66fcd573553bb080c314dc8 /drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c | |
parent | 3913f0179ba366f7d7d160c506ce00de1602bbc4 (diff) | |
download | linux-876552e5d50178cabaad015a464f116c1944739f.tar.xz |
drm/amdgpu: Update PTE flags with TF enabled
This patch updates the PTE flags when translate further (TF) is
enabled:
- With translate_further enabled, invalid PTEs can be 0. Reading
consecutive invalid PTEs as 0 is considered a fault. To prevent
this, ensure invalid PTEs have at least 1 bit set.
- The current invalid PTE flags settings to translate a retry fault
into a no-retry fault, doesn't work with TF enabled. As a result,
update invalid PTE flags settings which works for both TF enabled
and disabled case.
Fixes: 352e683b72e79d ("drm/amdgpu: Enable translate_further to extend UTCL2 reach")
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v11.c')
0 files changed, 0 insertions, 0 deletions