]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe: Use helper for ASID -> VM in GPU faults and access counters
authorMatthew Brost <matthew.brost@intel.com>
Wed, 18 Sep 2024 16:05:03 +0000 (09:05 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Thu, 3 Oct 2024 06:13:55 +0000 (01:13 -0500)
commit0f18ac78aa974660a948dafcc45f4dc6e2c5858d
tree092be12b032ce764e1ccbc5a29ff503d07094e06
parentd1ef967126e295d36201e79ec64efdba31710353
drm/xe: Use helper for ASID -> VM in GPU faults and access counters

Normalize both code paths with a helper. Fixes a possible leak access
counter path too.

Suggested-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240918160503.2021315-1-matthew.brost@intel.com
(cherry picked from commit dc0dce6d63d22e8319e27b6a41be7368376f9471)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_gt_pagefault.c