drm/tegra: gr2d: Explicitly control module reset
authorThierry Reding <treding@nvidia.com>
Thu, 8 Jul 2021 14:37:36 +0000 (16:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 10:03:39 +0000 (11:03 +0100)
commit0dbb2617c7137787595e809aa7f832d9bb641202
treefcb52b01b86ad678bfaa0d794028c0f1217157e2
parent3b90135b03f3c160b36dcbfd19929dfb971ba56e
drm/tegra: gr2d: Explicitly control module reset

[ Upstream commit 271fca025a6d43f1c18a48543c5aaf31a31e4694 ]

As of commit 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling
clocks"), module resets are no longer automatically deasserted when the
module clock is enabled. To make sure that the gr2d module continues to
work, we need to explicitly control the module reset.

Fixes: 4782c0a5dd88 ("clk: tegra: Don't deassert reset on enabling clocks")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/tegra/gr2d.c