diff options
| author | Mikolaj Wasiak <[email protected]> | 2025-03-04 08:43:26 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-03-14 14:30:31 +0000 |
| commit | 34b1c1c71d375835d589e0929299b8caf0171cf1 (patch) | |
| tree | 8eb9ee00238522eec8f813772b98cb1f9b6ed054 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
| parent | drm/i915: Increase I915_PARAM_MMAP_GTT_VERSION version to indicate support fo... (diff) | |
| download | kernel-34b1c1c71d375835d589e0929299b8caf0171cf1.tar.gz kernel-34b1c1c71d375835d589e0929299b8caf0171cf1.zip | |
i915/selftest/igt_mmap: let mmap tests run in kthread
When the driver is loaded on the system with numa nodes it might be run in
a kthread, which makes it impossible to use current->mm in the selftest.
This patch allows the selftest to use current->mm by using active_mm.
Signed-off-by: Mikolaj Wasiak <[email protected]>
Reviewed-by: Eugene Kobyak <[email protected]>
Reviewed-by: Krzysztof Niemiec <[email protected]>
Reviewed-by: Krzysztof Karas <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/2w6pt2hnemndwmanwhyn3keexa6vtha7rmo6rqoerkmyxhbrh2@ls7lndjpia6z
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions
