mirror_ubuntu-kernels/drivers/gpu/drm/i915/selftests
Cong Liu 803033c148 drm/i915: Fix memory leaks in i915 selftests
This patch fixes memory leaks on error escapes in function fake_get_pages

Fixes: c3bfba9a22 ("drm/i915: Check for integer truncation on scatterlist creation")
Signed-off-by: Cong Liu <liucong2@kylinos.cn>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230414224109.1051922-1-andi.shyti@linux.intel.com
(cherry picked from commit 8bfbdadce8)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
2023-04-17 09:22:17 +03:00
..
i915_active.c
i915_gem_evict.c drm/i915: improve the catch-all evict to handle lock contention 2022-12-30 03:04:39 -05:00
i915_gem_gtt.c drm/i915: Fix memory leaks in i915 selftests 2023-04-17 09:22:17 +03:00
i915_gem.c Merge drm/drm-next into drm-intel-next 2023-01-25 11:41:16 +02:00
i915_live_selftests.h drm/i915/gt: Add selftests for TLB invalidation 2023-02-01 16:17:41 +00:00
i915_mock_selftests.h
i915_perf_selftests.h
i915_perf.c drm/i915/perf: Move gt-specific data from i915->perf to gt->perf 2022-10-27 12:36:30 -07:00
i915_random.c
i915_random.h
i915_request.c drm/i915/selftest: Remove avoidable init assignment 2023-03-07 14:20:43 -05:00
i915_selftest.c treewide: use get_random_u32() when possible 2022-10-11 17:42:58 -06:00
i915_sw_fence.c
i915_syncmap.c
i915_vma.c drm/i915: Rename ggtt_view as gtt_view 2022-09-08 10:24:17 +01:00
igt_atomic.c
igt_atomic.h
igt_flush_test.c drm/i915/selftests: Flush all tiles on test exit 2023-01-26 14:11:47 +01:00
igt_flush_test.h
igt_live_test.c
igt_live_test.h
igt_mmap.c
igt_mmap.h
igt_reset.c
igt_reset.h
igt_spinner.c drm/i915: Wrap all access to i915_vma.node.start|size 2022-12-06 10:52:42 +01:00
igt_spinner.h
intel_memory_region.c drm/i915/ttm: fix sg_table construction 2022-07-11 16:35:37 +01:00
intel_scheduler_helpers.c drm/i915/selftest: fix intel_selftest_modify_policy argument types 2023-01-23 13:45:04 -05:00
intel_scheduler_helpers.h
intel_uncore.c drm/i915/mtl: Add MTL forcewake support 2022-09-19 08:08:40 -07:00
lib_sw_fence.c
lib_sw_fence.h
librapl.c
librapl.h
mock_drm.h
mock_gem_device.c Merge drm/drm-next into drm-intel-gt-next 2022-10-03 17:04:02 +01:00
mock_gem_device.h
mock_gtt.c drm/i915: drop cast from DEFINE_RES_MEM() usage 2023-01-18 11:45:23 +02:00
mock_gtt.h
mock_region.c drm/i915: use i915_sg_dma_sizes() for all backends 2022-11-09 10:07:22 +00:00
mock_region.h
mock_request.c
mock_request.h
mock_uncore.c
mock_uncore.h
scatterlist.c drm/i915: Check for integer truncation on scatterlist creation 2022-12-30 04:19:18 -05:00