]> Gentwo Git Trees - linux/.git/commit
drm/xe/tests/xe_dma_buf: Set the drm_object::dma_buf member
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 21 Aug 2025 14:30:44 +0000 (16:30 +0200)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 25 Aug 2025 08:23:55 +0000 (10:23 +0200)
commitb5dd1505a31c5cbe62ec50a70e9c9a7bd2a8f703
tree1af3be22a60dbfeb4f01abed7307573e56f76a0b
parent0a51bf3e54dd8b77e6f1febbbb66def0660862d2
drm/xe/tests/xe_dma_buf: Set the drm_object::dma_buf member

This member is set when exporting using prime. However
the xe_gem_prime_export() alone doesn't set it, since it's done
later in the prime export flow.
For the test, set it manually and remove the hack that set it
temporarily when it was really needed.

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/20250821143045.106005-3-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/xe/tests/xe_dma_buf.c