Re: [PATCH] drm/i915: Fix coredump of perma-pinned vmas

2021-12-09 Thread Matthew Auld
On 08/12/2021 08:22, Thomas Hellström wrote: When updating the error capture code and introducing vma snapshots, we introduced code to hold the vma in memory while capturing it, calling i915_active_acquire_if_busy(). Now that function isn't relevant for perma-pinned vmas and caused important

[PATCH] drm/i915: Fix coredump of perma-pinned vmas

2021-12-08 Thread Thomas Hellström
When updating the error capture code and introducing vma snapshots, we introduced code to hold the vma in memory while capturing it, calling i915_active_acquire_if_busy(). Now that function isn't relevant for perma-pinned vmas and caused important vmas to be dropped from the coredump. Like for