]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftest: Cope with not having an RCS engine
authorJohn Harrison <John.C.Harrison@Intel.com>
Thu, 28 Jul 2022 02:42:23 +0000 (19:42 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 29 Jul 2022 17:35:57 +0000 (10:35 -0700)
commit34e0b435d4933d3472aeb7644dc35b9b40b8b294
treeba1986409480ff41b7c0636685687b425028ce7b
parent5387b8e14619ef985309da76e56573cf172c1c69
drm/i915/selftest: Cope with not having an RCS engine

It is no longer guaranteed that there will always be an RCS engine.
So, use the helper function for finding the first available engine that
can be used for general purpose selftets.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728024225.2363663-5-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/selftest_hangcheck.c