diff options
author | Lang Yu <[email protected]> | 2022-05-31 09:19:43 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-06-03 16:27:17 -0400 |
commit | 4fac4fcf4500bce515b0f32195e7bb86aa0246c6 (patch) | |
tree | dd7f1194cdf5bc85df354b5382d2c5a2c870127c /lib/test_fortify/write_overflow-memcpy.c | |
parent | 4d1e5f12b7a0d2ade73003d2522a23b4559c7e02 (diff) |
drm/amdkfd: add pinned BOs to kfd_bo_list
The kfd_bo_list is used to restore process BOs after
evictions. As page tables could be destroyed during
evictions, we should also update pinned BOs' page tables
during restoring to make sure they are valid.
So for pinned BOs,
1, Validate them and update their page tables.
2, Don't add eviction fence for them.
v2:
- Don't handle pinned ones specially in BO validation.(Felix)
Signed-off-by: Lang Yu <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions