]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vm: Use xe_vm_lock()/xe_vm_unlock() helpers
authorHimal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Wed, 24 Apr 2024 04:39:09 +0000 (10:09 +0530)
committerMatthew Brost <matthew.brost@intel.com>
Fri, 26 Apr 2024 03:38:34 +0000 (20:38 -0700)
commita1adb3d250925ddccd5270106d39aa09493d6edf
treeb5025e7960ab38b5e1f114917c8467d42c6213e1
parentedc9f11af3adab20ede4a0289a1335f0d8125998
drm/xe/vm: Use xe_vm_lock()/xe_vm_unlock() helpers

There is no change in functionality. Using the helper function
defined within the driver.

-v2
Use xe_vm_unlock() (Ashutosh/Matt)

-v3
Use xe_vm_unlock() for error label too (Matt)

Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240424043910.2190376-2-himal.prasad.ghimiray@intel.com
drivers/gpu/drm/xe/xe_vm.c