drm/xe: Only set VM->asid for platforms that support a ASID
authorMatthew Brost <matthew.brost@intel.com>
Wed, 25 Jan 2023 00:14:55 +0000 (16:14 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:27:46 +0000 (18:27 -0500)
commita12d9216740c23dc7f526db108b4a82f1e0807e2
treeafc538d1a9dcf877c9b0fd9212b3e475749ca4b8
parent38224c00d9c284030d60be83571e5f1bd5fc79c6
drm/xe: Only set VM->asid for platforms that support a ASID

This will help with TLB invalidation as the ASID in TLB invalidate
should be zero for platforms that do not support a ASID.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Niranjana Vishwanathapura <niranjana.vishwanathapura@intel.com>
drivers/gpu/drm/xe/xe_vm.c