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)
commit4dc3a1e52fece14c8bf05d5b46c9834d31c8dbf4
treefd74ff6f9de1714a4adff5c3530a753a5a202a4c
parentcc1338f259a21afd09aaaa011b87f3b83388d545
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