drm/xe: Convert to USM lock to rwsem
authorMatthew Brost <matthew.brost@intel.com>
Wed, 18 Sep 2024 05:44:36 +0000 (22:44 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Wed, 18 Sep 2024 15:46:24 +0000 (08:46 -0700)
commit1378c633a3fbfeb344c486ffda0e920a21e62712
tree890c9af02a398006b5802740e6d6583b277e9bb9
parent17d32430361898932678fc6d77e448f260c8a3a8
drm/xe: Convert to USM lock to rwsem

Remove contention from GPU fault path for ASID->VM lookup.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240918054436.1971839-1-matthew.brost@intel.com
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_gt_pagefault.c
drivers/gpu/drm/xe/xe_vm.c