OpenCloudOS-Kernel/drivers/gpu/drm/i915/gem/selftests
Matthew Auld 6341eb6f39 drm/i915/selftests: exercise shmem_writeback with THP
In commit:

commit 1e6decf30a
Author: Hugh Dickins <hughd@google.com>
Date:   Thu Sep 2 14:54:43 2021 -0700

    shmem: shmem_writepage() split unlikely i915 THP

it looks THP + shmem_writeback was an unexpected combination, and ends up
hitting some BUG_ON, but it also looks like that is now fixed.

While the IGTs did eventually hit this(although not during pre-merge it
seems), it's likely worthwhile adding some explicit coverage for this
scenario in the shrink_thp selftest.

References: https://gitlab.freedesktop.org/drm/intel/-/issues/4166
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210921142116.3807946-1-matthew.auld@intel.com
2021-09-24 09:35:34 +01:00
..
huge_gem_object.c drm/i915: Update object placement flags to be mutable 2021-06-24 18:50:56 +01:00
huge_gem_object.h drm/i915/selftests: Make headers self-contained 2020-01-03 13:33:36 +00:00
huge_pages.c drm/i915/selftests: exercise shmem_writeback with THP 2021-09-24 09:35:34 +01:00
i915_gem_client_blt.c drm/i915/gem: Zap the client blt code 2021-06-17 14:23:13 +01:00
i915_gem_coherency.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
i915_gem_context.c drm/i915: Drop __rcu from gem_context->vm 2021-09-06 11:11:32 +02:00
i915_gem_dmabuf.c drm/i915/selftests: Always initialize err in igt_dmabuf_import_same_driver_lmem() 2021-09-14 19:44:07 +03:00
i915_gem_migrate.c drm/i915/gem: Check object_can_migrate from object_migrate 2021-07-26 16:37:30 +01:00
i915_gem_mman.c drm/i915: Add mmap lock around vma_lookup() in the mman selftest. 2021-09-15 15:23:29 +02:00
i915_gem_object.c drm/i915/selftests: Prepare object tests for obj->mm.lock removal. 2021-03-24 17:41:35 +01:00
i915_gem_phys.c drm/i915: Update object placement flags to be mutable 2021-06-24 18:50:56 +01:00
igt_gem_utils.c drm/i915/gem: replace IS_GEN and friends with GRAPHICS_VER 2021-06-05 15:09:43 -07:00
igt_gem_utils.h drm/i915/selftests: Teach igt_gpu_fill_dw() to take intel_context 2019-08-24 09:10:08 +01:00
mock_context.c drm/i915: Release i915_gem_context from a worker 2021-09-06 10:45:29 +02:00
mock_context.h drm/i915/selftests: Take a VM in kernel_context() 2021-07-08 19:49:18 +02:00
mock_dmabuf.c drm-misc-next for 5.11: 2020-11-04 11:49:10 +10:00
mock_dmabuf.h drm/i915: change to_mock() to an inline function 2019-11-08 09:12:34 +00:00
mock_gem_object.h drm/i915/selftests: Make headers self-contained 2020-01-03 13:33:36 +00:00