diff options
| author | Eric Huang <[email protected]> | 2021-02-27 22:46:44 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-24 03:00:46 +0000 |
| commit | 2e2f197f4c994cf60ccd43a55b202bd0c5d679ba (patch) | |
| tree | 1dcb4318275ffd012c4b8bcdf9f47a4716bc0c60 /drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | |
| parent | drm/amdgpu: set CPU mapping of vram as cached for A+A mode (diff) | |
| download | kernel-2e2f197f4c994cf60ccd43a55b202bd0c5d679ba.tar.gz kernel-2e2f197f4c994cf60ccd43a55b202bd0c5d679ba.zip | |
drm/amdgpu: set snoop bit in pde/pte entries for A+A
Page tables in vram mapping to cpu is changed from uncached to
cached in A+A, the snoop bit in VM_CONTEXTx_PAGE_TABLE_BASE_ADDR/
PDE0s/PDE1s/PDE2s/PTE.TFs has to be set so gpuvm walker snoop
page table data out of CPU cache.
Signed-off-by: Eric Huang <[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_dma_buf.c')
0 files changed, 0 insertions, 0 deletions
