]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Add xe_device_asid_to_vm helper
authorMatthew Brost <matthew.brost@intel.com>
Fri, 16 Jan 2026 22:17:24 +0000 (14:17 -0800)
committerMatthew Brost <matthew.brost@intel.com>
Sat, 17 Jan 2026 02:24:48 +0000 (18:24 -0800)
commit43c3e6eacb22c7bcf871bd0220a35a03b5aa0e5c
treee4af81a6d94e6dfe210001f469a40bf7fda1f275
parentdea333b244818ab06253b8420a7534fd770eef36
drm/xe: Add xe_device_asid_to_vm helper

Introduce the xe_device_asid_to_vm helper, which can be used throughout
the driver to resolve the VM from a given ASID.

v4:
 - Move forward declare after includes (Stuart)

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Tested-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260116221731.868657-5-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device.h