diff options
| author | Philip Yang <[email protected]> | 2021-05-12 12:02:46 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-20 02:33:54 +0000 |
| commit | bf546940d5aa15852f58d59158965737505edc03 (patch) | |
| tree | 27839d0f1dacea03c4d3322af3cdf622af2fbb7a /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/radeon: use the dummy page for GART if needed (diff) | |
| download | kernel-bf546940d5aa15852f58d59158965737505edc03.tar.gz kernel-bf546940d5aa15852f58d59158965737505edc03.zip | |
drm/amdgpu: flush TLB if valid PDE turns into PTE
Mapping huge page, 2MB aligned address with 2MB size, uses PDE0 as PTE.
If previously valid PDE0, PDE0.V=1 and PDE0.P=0 turns into PTE, this
requires TLB flush, otherwise page table walker will not read updated
PDE0.
Change page table update mapping to return table_freed flag to indicate
the previously valid PDE may have turned into a PTE if page table is
freed.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
