drm/nouveau/volt/gk20a: share reusable members & functions
authorVince Hsu <vinceh@nvidia.com>
Mon, 27 Apr 2015 03:48:02 +0000 (11:48 +0800)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:49 +0000 (10:13 +1000)
commit0f9520931eff906dab9c75a665fa0d4e59238166
tree0d8f267a9d86a485ae69949271f69f6b8df5bec3
parent253a03f03f518a7bf6c4ef73fec94aa5957da736
drm/nouveau/volt/gk20a: share reusable members & functions

The CVB calculation and voltage setting functions can be reused for the
future chips. So move the declaration to gk20a.h.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.c
drivers/gpu/drm/nouveau/nvkm/subdev/volt/gk20a.h [new file with mode: 0644]