diff options
author | Matthew Brost <matthew.brost@intel.com> | 2025-08-25 08:28:41 -0700 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2025-08-26 10:12:11 -0400 |
commit | 16ca06aa2c2218cb21907c0c45a746958c944def (patch) | |
tree | 0f419f6affe4c2f4a8ee0bcb63ca9a1ffffc56fb /lib/xarray.c | |
parent | 2b55ddf36229e0278c956215784ab1feeff510aa (diff) |
drm/xe: Don't trigger rebind on initial dma-buf validation
On the first validate of an imported dma-buf (initial bind), the device
has no GPU mappings, so a rebind is unnecessary. Rebinding here is
harmful in multi-GPU setups and for VMs using preempt-fence mode, as it
would evict in-flight GPU work.
v2:
- Drop dma_buf_validated, check for XE_PL_SYSTEM (Thomas)
Fixes: dd08ebf6c352 ("drm/xe: Introduce a new DRM driver for Intel GPUs")
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://lore.kernel.org/r/20250825152841.3837378-1-matthew.brost@intel.com
(cherry picked from commit ffdf968762e4fb3cdae54e811ec3525e67440a60)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions