]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reduce stack usage in debugfs due to SSEU
authorJohn Harrison <John.C.Harrison@Intel.com>
Tue, 15 Mar 2022 02:08:05 +0000 (19:08 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Tue, 15 Mar 2022 16:46:50 +0000 (09:46 -0700)
commit753b22b88aba4654331e076523f338194bbec52b
treefd74ff6f9de1714a4adff5c3530a753a5a202a4c
parentd747fe030c1969c33813651f22b75872ad56e9e9
drm/i915: Reduce stack usage in debugfs due to SSEU

sseu_dev_info is already a pretty large structure which will likely
continue to grow when future platforms increase potential DSS and EU
counts.  Let's switch the stack placement of this structure in debugfs
with a dynamic allocation.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220315020805.844962-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_sseu_debugfs.c