OpenCloudOS-Kernel/drivers/gpu/drm/i915/gem/selftests
Dan Carpenter efbf928824 drm/i915/selftests: Fix return in assert_mmap_offset()
The assert_mmap_offset() returns type bool so if we return an error
pointer that is "return true;" or success.  If we have an error, then
we should return false.

Fixes: 3d81d589d6 ("drm/i915: Test exhaustion of the mmap space")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200228141413.qfjf4abr323drlo4@kili.mountain
2020-02-28 21:13:16 +00:00
..
huge_gem_object.c drm/i915/selftests: Use sgt_iter for huge_pages_free 2019-11-29 14:23:53 +00: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: drop igt_ppgtt_exhaust_huge 2020-02-07 00:18:12 +00:00
i915_gem_client_blt.c drm/i915: Serialise with engine-pm around requests on the kernel_context 2019-11-25 13:17:18 +00:00
i915_gem_coherency.c drm/i915/selftests: Err out on coherency if initialisation failed 2019-12-27 17:01:32 +00:00
i915_gem_context.c drm/i915/selftests: Lock the drm_mm as we search 2020-01-28 19:00:13 +00:00
i915_gem_dmabuf.c drm/i915: Remove dma_buf_kmap selftest 2019-11-25 22:36:01 +01:00
i915_gem_mman.c drm/i915/selftests: Fix return in assert_mmap_offset() 2020-02-28 21:13:16 +00:00
i915_gem_object.c drm/i915: Move more GEM objects under gem/ 2019-05-28 12:45:29 +01:00
i915_gem_object_blt.c drm/i915/selftests: Avoid choosing zero for phys_sz 2020-02-12 10:14:06 +00:00
i915_gem_phys.c drm/i915/selftests: Drop vestigal struct_mutex guards 2019-10-04 15:39:41 +01:00
igt_gem_utils.c drm/i915: Pull i915_vma_pin under the vm->mutex 2019-10-04 15:39:02 +01: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/selftests: Disable capturing forced error states 2020-02-10 16:46:21 +00:00
mock_context.h drm/i915/selftests: make mock_context.h self-contained 2019-12-23 12:38:34 +02:00
mock_dmabuf.c drm/i915: Drop dma_buf->k(un)map 2019-11-25 22:36:14 +01: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