diff options
| author | Philip Yang <[email protected]> | 2021-06-04 20:22:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-06-07 18:57:18 +0000 |
| commit | 0dc2bafb08c053240e5fd913a041b9885ab947f1 (patch) | |
| tree | 68158dbbb0c08554dfc4b86108b74ef5a6003061 /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
| parent | drm/amdgpu: Modify register access in sdma_v5_2 to use _SOC15 macros (diff) | |
| download | kernel-0dc2bafb08c053240e5fd913a041b9885ab947f1.tar.gz kernel-0dc2bafb08c053240e5fd913a041b9885ab947f1.zip | |
drm/amdkfd: pages_addr offset must be 0 for system range
prange->offset is for VRAM range mm_nodes, if multiple ranges share same
mm_nodes, migrate range back to VRAM will reuse the VRAM at offset of
the same mm_nodes. For system memory pages_addr array, the offset is
always 0, otherwise, update GPU mapping will use incorrect system memory
page, and cause system memory corruption.
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c')
0 files changed, 0 insertions, 0 deletions
