drm/xe: Invalidate TLB after unbind is complete
This gets tricky as we can't do the TLB invalidation until the unbind operation is done on the hardware and we can't signal the unbind as complete until the TLB invalidation is done. To work around this we create an unbind fence which does a TLB invalidation after unbind is done on the hardware, signals on TLB invalidation completion, and this fence is installed in the BO dma-resv slot and installed in out-syncs for the unbind operation. Signed-off-by:Matthew Brost <matthew.brost@intel.com> Suggested-by:
Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Suggested-by:
Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by:
Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com> Signed-off-by:
Rodrigo Vivi <rodrigo.vivi@intel.com>
parent
fc108a8b
Please register or sign in to comment