drm/nouveau/clk/gk20a: add and use MNP programming functions
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 1 Jun 2016 08:39:24 +0000 (17:39 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commita9608c9ba968d3543f4531bbeee3cf2ab6ce8f80
tree9cd66b73b6455584dc5a7febe3f25b37d2d95309
parent9102240c693d3be655caaa4e5ec7a4efa61b7821
drm/nouveau/clk/gk20a: add and use MNP programming functions

Add relevant functions to work with the gk20a_pll structure and use them
where they ought to be instead of directly manipulating registers.

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