diff options
| author | 2021-06-04 16:22:58 -0400 | |
|---|---|---|
| committer | 2021-06-07 14:57:18 -0400 | |
| 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 | wireguard-linux-0dc2bafb08c053240e5fd913a041b9885ab947f1.tar.xz wireguard-linux-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 <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c')
0 files changed, 0 insertions, 0 deletions
