]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Move part of xe_file cleanup to a helper
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Thu, 18 Jul 2024 21:05:45 +0000 (14:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 19 Jul 2024 07:31:07 +0000 (00:31 -0700)
commit3d0c4a62cc553c6ffde4cb11620eba991e770665
tree59beee1ead5dd189945d522c13ed6356914ca5d9
parent7108b4a589cd6d3a2c1276fd610b3500f46de66a
drm/xe: Move part of xe_file cleanup to a helper

In order to make xe_file ref counted, move destruction of xe_file
members to a helper.

v2: Move xe_vm_close_and_put back into xe_file_close (Matt)

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240718210548.3580382-2-umesh.nerlige.ramappa@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_device.c