drm/nouveau/clk/gk20a: setup slide once during init
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 1 Jun 2016 08:39:21 +0000 (17:39 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commitf5f1b06eeaa66f5eb4b030cff63118cea33293fa
tree5b02206d4eb7f090b17eada2c200c251038a99f3
parent9772605ce8b14d2c40989c10d920b8e1e1cc6210
drm/nouveau/clk/gk20a: setup slide once during init

Slide setup needs to be performed only once, during init. Also
use the proper parameters for different clock speeds.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk20a.h
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gm20b.c