]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Fix hang on Tegra186+
authorDmitry Osipenko <digetx@gmail.com>
Thu, 23 Dec 2021 14:46:50 +0000 (17:46 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 27 Jan 2022 17:27:02 +0000 (18:27 +0100)
commitfeb9cef7f8218b995106d59fcf0f4550360531ce
tree1f01535f963ea7522744c8313d958d1ee325eafc
parent991a5e519c2aa1f4ed2bf6e2139997d7e7967cb3
gpu: host1x: Fix hang on Tegra186+

Tegra186+ hangs if host1x hardware is disabled at a kernel boot time
because we touch hardware before runtime PM is resumed. Move sync point
assignment initialization to the RPM-resume callback. Older SoCs were
unaffected because they skip that sync point initialization.

Tested-by: Jon Hunter <jonathanh@nvidia.com> # T186
Reported-by: Jon Hunter <jonathanh@nvidia.com> # T186
Fixes: b86de0e3037f ("gpu: host1x: Add initial runtime PM and OPP support")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c