]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Do not run GPU page fault handler on a closed VM
authorMatthew Brost <matthew.brost@intel.com>
Wed, 11 Sep 2024 01:18:20 +0000 (18:18 -0700)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 12 Sep 2024 19:17:55 +0000 (12:17 -0700)
commitf96dbf7c321d70834d46f3aedb75a671e839b51e
tree8f6f2a133928c472fa81d7b0e17539b41c96b151
parent3b04c2cfd71c54117237c72f2a08ff0ae1f602e2
drm/xe: Do not run GPU page fault handler on a closed VM

Closing a VM removes page table memory thus we shouldn't touch page
tables when a VM is closed. Do not run the GPU page fault handler once
the VM is closed to avoid touching page tables.

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