drm/tegra: hdmi: Move register definitions into a table
authorThierry Reding <treding@nvidia.com>
Fri, 10 Nov 2017 11:20:46 +0000 (12:20 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 13 Dec 2017 12:42:05 +0000 (13:42 +0100)
commitfbfe16df30817a9d62dfb2633121068361fb7721
tree36827eacff8c25307fbc8065025b031c7509d139
parenta40051c0fb3c5a655eb014b3b9d66c0c318bcbf9
drm/tegra: hdmi: Move register definitions into a table

After commit 07a8aab89927 ("drm/tegra: hdmi: Trace register accesses"),
the debugfs register dump implementation causes excessive stack usage
and can result in build warnings. To fix this, move the register
definitions into a table and iterate over the table while dumping the
registers to debugfs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hdmi.c