linux_dsm_epyc7002/drivers/gpu/drm/i915/selftests
Dan Carpenter 71cd6cb234 drm/i915/selftests: Fix an IS_ERR() vs NULL check
The live_context() function returns error pointers.  It never returns
NULL.

Fixes: 9c1477e83e ("drm/i915/selftests: Exercise adding requests to a full GGTT")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326050843.GA20038@kadam
(cherry picked from commit 602cbe8efc)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2019-03-27 10:10:32 +02:00
..
huge_gem_object.c
huge_gem_object.h
huge_pages.c drm/i915/selftests: Query the vm under test for hugepage support 2019-01-18 09:07:06 +00:00
i915_active.c drm/i915: Generalise GPU activity tracking 2019-02-05 17:12:00 +00:00
i915_gem_coherency.c drm/i915/selftests: Mark up rpm wakerefs 2019-01-14 16:18:20 +00:00
i915_gem_context.c drm/i915/selftests: Always free spinner on __sseu_prepare error 2019-03-08 09:52:42 -08:00
i915_gem_dmabuf.c
i915_gem_evict.c drm/i915/selftests: Fix an IS_ERR() vs NULL check 2019-03-27 10:10:32 +02:00
i915_gem_gtt.c drm/i915: Pull VM lists under the VM mutex. 2019-01-28 16:24:13 +00:00
i915_gem_object.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_gem.c drm/i915: Syntatic sugar for using intel_runtime_pm 2019-01-14 16:18:25 +00:00
i915_live_selftests.h drm/i915: Generalise GPU activity tracking 2019-02-05 17:12:00 +00:00
i915_mock_selftests.h drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
i915_random.c drm/i915: Share per-timeline HWSP using a slab suballocator 2019-01-28 19:07:06 +00:00
i915_random.h drm/i915: Share per-timeline HWSP using a slab suballocator 2019-01-28 19:07:06 +00:00
i915_request.c drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
i915_selftest.c drm/i915/selftests: Apply a subtest filter 2019-01-29 19:59:57 +00:00
i915_sw_fence.c
i915_syncmap.c
i915_timeline.c drm/i915: Track the context's seqno in its own timeline HWSP 2019-01-28 19:07:09 +00:00
i915_vma.c drm/i915: Move vma lookup to its own lock 2019-01-28 16:24:16 +00:00
igt_flush_test.c
igt_flush_test.h
igt_live_test.c drm/i915: Drop fake breadcrumb irq 2019-01-29 21:45:30 +00:00
igt_live_test.h drm/i915/selftests: Refactor common live_test framework 2019-01-22 13:01:20 +00:00
igt_reset.c drm/i915/selftests: Add tests for GT and engine workaround verification 2018-12-04 12:23:19 +00:00
igt_reset.h drm/i915/selftests: Add tests for GT and engine workaround verification 2018-12-04 12:23:19 +00:00
igt_spinner.c drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
igt_spinner.h drm/i915/selftests: Extract spinner code 2018-11-30 15:09:00 +00:00
igt_wedge_me.h
intel_engine_cs.c
intel_guc.c drm/i915/selftests: Mark up rpm wakerefs 2019-01-14 16:18:20 +00:00
intel_hangcheck.c drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
intel_lrc.c drm/i915/selftests: Exercise some AB...BA preemption chains 2019-02-05 16:16:02 +00:00
intel_uncore.c
intel_workarounds.c drm/i915: Remove GPU reset dependence on struct_mutex 2019-01-25 14:27:22 +00:00
lib_sw_fence.c drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
lib_sw_fence.h drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
mock_context.c drm/i915: Refactor out intel_context_init() 2019-01-22 13:13:53 +00:00
mock_context.h
mock_dmabuf.c
mock_dmabuf.h
mock_drm.c
mock_drm.h
mock_engine.c drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
mock_engine.h drm/i915: Replace global breadcrumbs with per-context interrupt tracking 2019-01-29 21:45:22 +00:00
mock_gem_device.c drm/i915: Move list of timelines under its own lock 2019-01-28 16:24:22 +00:00
mock_gem_device.h
mock_gem_object.h
mock_gtt.c drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
mock_gtt.h drm/i915/selftests: Create a clean GGTT for vma/gtt selftesting 2019-01-22 12:50:39 +00:00
mock_request.c
mock_request.h
mock_timeline.c drm/i915: Pull i915_gem_active into the i915_active family 2019-02-05 17:20:11 +00:00
mock_timeline.h
mock_uncore.c
mock_uncore.h
scatterlist.c