]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1021827dd720716e4713e065ca5a28f71786c8e4
tree8aa703b1e9236e65fce91a58849168f8a28d1585
parent79f9e5d2f1c29c609748f6fa390bb24a3d2b32b6
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