diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-06-04 16:22:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-07 14:57:18 -0400 |
commit | 0dc2bafb08c053240e5fd913a041b9885ab947f1 (patch) | |
tree | 68158dbbb0c08554dfc4b86108b74ef5a6003061 /drivers/gpu/drm/amd/amdgpu/amdgpu_fw_attestation.c | |
parent | cf2a22e4080d8de3693bd11c288d34a6ea9d02fc (diff) | |
download | linux-0dc2bafb08c053240e5fd913a041b9885ab947f1.tar.gz linux-0dc2bafb08c053240e5fd913a041b9885ab947f1.tar.bz2 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