drm/i915/selftests: Allow for larger engine counts
authorJohn Harrison <John.C.Harrison@Intel.com>
Wed, 21 Jul 2021 22:30:32 +0000 (15:30 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 22 Jul 2021 16:37:10 +0000 (09:37 -0700)
commit8f57f295c8952ed45aa7c1c6296d36ced08f85ed
tree8aa703b1e9236e65fce91a58849168f8a28d1585
parent442e049aedb2aa8dac55b073595b02cf5d13899c
drm/i915/selftests: Allow for larger engine counts

Increasing the engine count causes a couple of local array variables
to exceed the kernel stack limit. So make them dynamic allocations
instead.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210721223043.834562-8-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/selftest_execlists.c
drivers/gpu/drm/i915/gt/selftest_workarounds.c