diff options
| author | Oscar Mateo <oscar.mateo@intel.com> | 2018-04-16 14:57:01 -0700 |
|---|---|---|
| committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-04-17 11:40:27 +0100 |
| commit | 94f8dfc6cdfc3c48c3aea59ce528fa93cb54a69f (patch) | |
| tree | 4a878caff37255d95fa80793db31f0aabd80b36c /tools/perf/scripts/python/bin | |
| parent | drm/i915: Call i915_perf_fini() on init_hw error unwind (diff) | |
| download | linux-94f8dfc6cdfc3c48c3aea59ce528fa93cb54a69f.tar.gz linux-94f8dfc6cdfc3c48c3aea59ce528fa93cb54a69f.zip | |
drm/i915/selftests: Handle a potential failure of intel_ring_begin
Silence smatch over:
drivers/gpu/drm/i915/selftests/intel_workarounds.c:58 read_nonprivs() error: 'cs' dereferencing possible ERR_PTR()
by handling a potential (but unlikely) failure of intel_ring_begin.
Fixes: f4ecfbfc32ed ("drm/i915: Check whitelist registers across resets")
Signed-off-by: Oscar Mateo <oscar.mateo@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
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/1523915821-30624-1-git-send-email-oscar.mateo@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
