mirror_ubuntu-kernels/drivers/gpu/drm/i915/selftests
Matthew Auld 6e0c5bf0cc drm/i915/selftests: handle allocation failures
If we have to contend with non-mappable LMEM, then we need to ensure the
object fits within the mappable portion, like in the selftests, where we
later try to CPU access the pages. However if it can't then we need to
gracefully handle this, without throwing an error.

Also it looks like TTM will return -ENOMEM, in ttm_bo_mem_space() after
exhausting all possible placements.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220228123607.580432-3-matthew.auld@intel.com
2022-03-01 08:50:47 +00:00
..
i915_active.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
i915_gem_evict.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
i915_gem_gtt.c Merge drm/drm-next into drm-intel-gt-next 2022-02-25 13:44:44 +00:00
i915_gem.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
i915_live_selftests.h drm/i915/guc: Add basic GuC multi-lrc selftest 2021-10-15 10:45:50 -07:00
i915_mock_selftests.h drm: move the buddy allocator from i915 into common drm 2022-01-19 08:17:07 +01:00
i915_perf_selftests.h
i915_perf.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
i915_random.c
i915_random.h
i915_request.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
i915_selftest.c drm/i915: move the DRIVER_* macros to i915_driver.[ch] 2022-02-10 11:44:25 +02:00
i915_sw_fence.c drm/i915: Drop stealing of bits from i915_sw_fence function pointer 2021-11-30 17:52:15 -08:00
i915_syncmap.c
i915_vma.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
igt_atomic.c
igt_atomic.h
igt_flush_test.c drm/i915: More gt idling time with guc submission 2022-02-11 17:11:35 +05:30
igt_flush_test.h
igt_live_test.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
igt_live_test.h
igt_mmap.c
igt_mmap.h
igt_reset.c drm/i915/selftests: Use clear_and_wake_up_bit() for the per-engine reset bitlocks 2021-11-10 09:04:30 +01:00
igt_reset.h
igt_spinner.c drm/i915: split out i915_gem_internal.h from i915_drv.h 2022-02-11 12:52:50 +02:00
igt_spinner.h
intel_memory_region.c drm/i915/selftests: handle allocation failures 2022-03-01 08:50:47 +00:00
intel_scheduler_helpers.c drm/i915/selftests: Add initial GuC selftest for scrubbing lost G2H 2021-09-13 11:30:38 -07:00
intel_scheduler_helpers.h drm/i915/selftests: Add initial GuC selftest for scrubbing lost G2H 2021-09-13 11:30:38 -07:00
intel_uncore.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
lib_sw_fence.c drm/i915: Drop stealing of bits from i915_sw_fence function pointer 2021-11-30 17:52:15 -08:00
lib_sw_fence.h
librapl.c
librapl.h
mock_drm.h
mock_gem_device.c Merge tag 'drm-intel-gt-next-2022-02-17' of git://anongit.freedesktop.org/drm/drm-intel into drm-intel-next 2022-02-23 15:03:51 -05:00
mock_gem_device.h
mock_gtt.c drm/i915: Use the vma resource as argument for gtt binding / unbinding 2022-01-11 10:53:14 +01:00
mock_gtt.h drm/i915: Remove unused i915->ggtt 2022-01-05 10:49:02 -08:00
mock_region.c drm/i915: add I915_BO_ALLOC_GPU_ONLY 2022-02-28 08:47:34 +00:00
mock_region.h drm/i915: add io_size plumbing 2022-02-28 08:47:27 +00:00
mock_request.c
mock_request.h
mock_uncore.c drm/i915/selftests: Use to_gt() helper 2021-12-17 21:51:00 -08:00
mock_uncore.h
scatterlist.c