]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Use correct format array for Tegra124
authorStefan Agner <stefan@agner.ch>
Tue, 20 Mar 2018 09:11:44 +0000 (10:11 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 22 Mar 2018 14:28:09 +0000 (15:28 +0100)
commit171ba2bdb3d3bceb39a4f44bff526d91d44a2318
tree09b94e3aee5fb2b00c1d60a7495a04dcabff1f74
parentf14c70476e2067e7871c18edae91e9bd588f6076
drm/tegra: dc: Use correct format array for Tegra124

Use tegra124_(primary|overlay)_formats for Tegra124, otherwise the count
specified in the Tegra124 SoC info structure will be different from the
array size and cause a crash.

Fixes: 1c0e1246df0c ("drm/tegra: dc: Support more formats")
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c