diff options
author | Matthew Auld <matthew.auld@intel.com> | 2023-10-25 18:39:40 +0100 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 11:43:31 -0500 |
commit | a667cf56dbd64e35f8f34ec47549888fa28878fb (patch) | |
tree | 95bb4351d86a9ac3029b1c577ca5ae7a0c9de5e6 /drivers/gpu/drm/xe/xe_bo.c | |
parent | 4202dd9fc43e9d9dba54e1b72a301108cdec84fb (diff) |
drm/xe/bo: consider dma-resv fences for clear job
There could be active fences already in the dma-resv for the object
prior to clearing. Make sure to input them as dependencies for the clear
job.
v2 (Matt B):
- We can use USAGE_KERNEL here, since it's only the move fences we
care about here. Also add a comment.
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_bo.c')
0 files changed, 0 insertions, 0 deletions