summaryrefslogtreecommitdiff
path: root/rust/build_error.rs
diff options
context:
space:
mode:
authorThomas Hellström <thomas.hellstrom@linux.intel.com>2025-09-08 12:12:41 +0200
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2025-09-10 09:16:03 +0200
commiteb289a5f6cc668853f9b2ea6aca04afe58ed11c7 (patch)
tree32b1e166041a874802bd98d917a51371a2171bf4 /rust/build_error.rs
parent7bcb6e38c14d7d2654555a1b05b2a9a5411c693c (diff)
drm/xe: Convert xe_dma_buf.c for exhaustive eviction
Convert dma-buf migration to XE_PL_TT and dma-buf import to support exhaustive eviction, using xe_validation_guard(). It seems unlikely that the import would result in an -ENOMEM, but convert import anyway for completeness. The dma-buf map_attachment() functionality unfortunately doesn't support passing a drm_exec, which means that foreign devices validating a dma-buf that we exported will not, unless they are xeKMD devices, participate in the exhaustive eviction scheme. v2: - Avoid gotos from within xe_validation_guard(). (Matt Brost) - Adapt to signature change of xe_validation_guard(). (Matt Brost) - Remove an unneeded (void)ret. (Matt Brost) - Fix up an error path. Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Link: https://lore.kernel.org/r/20250908101246.65025-9-thomas.hellstrom@linux.intel.com
Diffstat (limited to 'rust/build_error.rs')
0 files changed, 0 insertions, 0 deletions