diff options
| author | 2022-09-07 10:46:58 -0400 | |
|---|---|---|
| committer | 2022-09-21 17:14:09 -0400 | |
| commit | 37a0bad677a76e51c5e9e53f5d9f8f4f3e77912f (patch) | |
| tree | f414c3e4ffd52e25df8f6f5fa99c7f66ce169397 /include/asm-generic/git:/ssh:/git@git.zx2c4.com | |
| parent | drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1 (diff) | |
| download | linux-dev-37a0bad677a76e51c5e9e53f5d9f8f4f3e77912f.tar.xz linux-dev-37a0bad677a76e51c5e9e53f5d9f8f4f3e77912f.zip | |
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 'include/asm-generic/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
