]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe: Move page reclaim done_handler to own func
authorBrian Nguyen <brian3.nguyen@intel.com>
Thu, 5 Mar 2026 17:15:49 +0000 (17:15 +0000)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 16 Mar 2026 16:42:41 +0000 (09:42 -0700)
commitd88fa967dc4335196d9ec2e07b2269bb53feec0d
tree3a01bedc3606b903aa1b051d0922c9471524c0cc
parent1d123587525db86cc8f0d2beb35d9e33ca3ade83
drm/xe: Move page reclaim done_handler to own func

Originally, page reclamation is handled by the same fence as tlb
invalidation and uses its seqno, so there was no reason to separate out
the handlers. However in hindsight, for readability, and possible
future changes, it seems more beneficial to move this all out to its own
function.

Signed-off-by: Brian Nguyen <brian3.nguyen@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Stuart Summers <stuart.summers@intel.com>
Link: https://patch.msgid.link/20260305171546.67691-7-brian3.nguyen@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_guc_ct.c
drivers/gpu/drm/xe/xe_page_reclaim.c
drivers/gpu/drm/xe/xe_page_reclaim.h