drm/nouveau/tegra: Set clock rate if not set
authorThierry Reding <treding@nvidia.com>
Mon, 9 Dec 2019 12:00:02 +0000 (13:00 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 15 Jan 2020 00:49:59 +0000 (10:49 +1000)
commitfc12262b96833ce131063c7081cd7fb3c4a048f3
tree006349fa389fd15a8e5eb4653acd429c632a4b92
parentb0b651aedb101785f91f8d13a4c1e6363f3fa178
drm/nouveau/tegra: Set clock rate if not set

If the GPU clock has not had a rate set, initialize it to the maximum
clock rate to make sure it does run.

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