]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Rename wait_for_hang() to wait_until_running()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Apr 2018 10:09:50 +0000 (11:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Apr 2018 14:17:15 +0000 (15:17 +0100)
commit3cdc5f21010d83fe72444f56307644bf007d4964
tree1d50c837879533d5607daae47dd8f8bdddac5559
parent1effdcdf6c3aa22fcfd6c1abc99e1255c5ec59a3
drm/i915/selftests: Rename wait_for_hang() to wait_until_running()

Tvrtko mentioned that wait_for_hang() was confusing as it does not
actually wait for the aforementioned hang, just until the request is
running and we are *ready* to inject a hang. A quick
s/wait_for_hang/wait_until_running/ removes that confusion without
having to rethink the naming scheme, immediately at least.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180406100950.19033-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_hangcheck.c