OSDN Git Service

drm/nouveau/clk/gk20a: parameterize PLL settings
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 1 Jun 2016 08:39:25 +0000 (17:39 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit89d3a912fc00cd6fccdafb14a63395b049aa2aa1
treeae6266ede2243b949dc094cc4eb195696d53f6ea
parenta9608c9ba968d3543f4531bbeee3cf2ab6ce8f80
drm/nouveau/clk/gk20a: parameterize PLL settings

Make functions manipulating PLL settings take them as an argument,
instead of assuming we want to work on the copy in the gk20a_clk
structure. This makes these functions more flexible, which we will need
in GM20B.

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