OSDN Git Service

drm/nouveau/tegra: Avoid pulsing reset twice
authorThierry Reding <treding@nvidia.com>
Mon, 9 Dec 2019 12:00:01 +0000 (13:00 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:58 +0000 (10:49 +1000)
commitb0b651aedb101785f91f8d13a4c1e6363f3fa178
treef3b77e3895eebc65670b07888db833c4bcad01a4
parentf1331ea8ee0a7fe9a832a403587528adddd03561
drm/nouveau/tegra: Avoid pulsing reset twice

When the GPU powergate is controlled by a generic power domain provider,
the reset will automatically be asserted and deasserted as part of the
power-ungating procedure.

On some Jetson TX2 boards, doing an additional assert and deassert of
the GPU outside of the power-ungate procedure can cause the GPU to go
into a bad state where the memory interface can no longer access system
memory.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c