Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: f4ecfbf ("drm/i915: Check whitelist registers across resets") Signed-off-by: Oscar Mateo <[email protected]> Cc: Chris Wilson <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information