diff options
| author | Chris Wilson <[email protected]> | 2017-11-20 21:19:07 +0000 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-11-20 21:59:30 +0000 |
| commit | 0ab42a78712acbdcfefe5aa3205a15393ebbc6d7 (patch) | |
| tree | 188a1542d0ec96f1d8fae2d73d1e784760d081ca /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf | |
| parent | 93c6e966b4cd1c99d02b488e149df606f811587b (diff) | |
drm/i915/selftests: Declare we allocated the guc clients
Silence smatch over
drivers/gpu/drm/i915/selftests/intel_guc.c:135 igt_guc_init_doorbell_hw() error: we previously assumed 'guc->execbuf_client' could be null (see line 123)
drivers/gpu/drm/i915/selftests/intel_guc.c:142 igt_guc_init_doorbell_hw() error: we previously assumed 'guc->preempt_client' could be null (see line 123)
by asserting that we did succeed in creating the pair of clients for
testing.
References: 55bd6bd75717 ("drm/i915/selftests: Add a GuC doorbells selftest")
Signed-off-by: Chris Wilson <[email protected]>
Cc: Michel Thierry <[email protected]>
Cc: Michal Wajdeczko <[email protected]>
Cc: Daniele Ceraolo Spurio <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Michel Thierry <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions