diff options
author | Felix Kuehling <[email protected]> | 2018-03-15 17:27:50 -0400 |
---|---|---|
committer | Oded Gabbay <[email protected]> | 2018-03-15 17:27:50 -0400 |
commit | 552764b680a65d6069ad651b356d5465082939d0 (patch) | |
tree | c5ccbc25e105cfb9e17daa41873bd1d77b2069c1 /lib/memory-notifier-error-inject.c | |
parent | f35751b87034f0c2d11e60cdfb0179c4f1a7e296 (diff) |
drm/amdkfd: Add TC flush on VMID deallocation for Hawaii
On GFX7 the CP does not perform a TC flush when queues are unmapped.
To avoid TC eviction from accessing an invalid VMID, flush it
explicitly before releasing a VMID.
v2: Fix unnecessary list_for_each_entry_safe
v3: Moved allocation to kfd_process_device_init_vm
Signed-off-by: Amber Lin <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions