drm/nouveau/tegra: acquire and enable reference clock if needed
authorAlexandre Courbot <acourbot@nvidia.com>
Fri, 1 Apr 2016 02:37:44 +0000 (11:37 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 6 Apr 2016 06:06:51 +0000 (16:06 +1000)
commit34440ed697aed2588d3e99bbdc75700a967bd1bd
tree035dc71ef053b46ba0231a902a14890d6ca4931c
parent52829d4fabaf71748f16126d421dbefbfcf1319a
drm/nouveau/tegra: acquire and enable reference clock if needed

GM20B requires an extra clock compared to GK20A. Add that information
into the platform data and acquire and enable this clock if necessary.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/tegra.h
drivers/gpu/drm/nouveau/nouveau_platform.c
drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c