]> 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)
committerMatthew Brost <matthew.brost@intel.com>
Thu, 19 Sep 2024 19:19:43 +0000 (12:19 -0700)
commitdc0dce6d63d22e8319e27b6a41be7368376f9471
treeb0dbe4fab5405a80ffc9f54fc4f7ae9360c3cb30
parent5b40191152282e1f25d7b9826bcda41be927b39f
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
drivers/gpu/drm/xe/xe_gt_pagefault.c