diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-29 09:59:44 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-29 11:00:18 +0100 |
commit | 76c5399fe2e4d7a5013280629de05c8ab6301311 (patch) | |
tree | ecc3c4c3ea655bfb83462db3c88e64df2fc1aaf8 /drivers/gpu/drm/omapdrm/displays/encoder-opa362.c | |
parent | 62336cc666b0e0f1f2bebd682c1741b9a439095a (diff) | |
download | linux-76c5399fe2e4d7a5013280629de05c8ab6301311.tar.gz linux-76c5399fe2e4d7a5013280629de05c8ab6301311.tar.bz2 linux-76c5399fe2e4d7a5013280629de05c8ab6301311.zip |
drm/i915/selftests: Careful not to flush hang_fini on error setups
Smatch spotted that we test at the start of hang_fini for a valid (h->gt
is only set after a request is created) but then used it regardless
later on.
v2: Alternatively, we do not need to check as we now always prime h->gt
in hang_init()
References: cb823ed9915b ("drm/i915/gt: Use intel_gt as the primary object for handling resets")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190729085944.2179-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/encoder-opa362.c')
0 files changed, 0 insertions, 0 deletions