drm/nva3/clk: Pause the GPU before reclocking
authorRoy Spliet <rspliet@eclipso.eu>
Fri, 29 Aug 2014 10:27:42 +0000 (12:27 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 15 Sep 2014 12:25:12 +0000 (22:25 +1000)
commit2fe7eaa0d4c9cf26b379a8054a87c4bf7ac4dc12
treeaa2d658ab996de57ec37653a886f65a90a9a3142
parentb485a7005faba38286bc02ab1d80e2cbf61c1002
drm/nva3/clk: Pause the GPU before reclocking

V2: always call post correctly even if pre fails
V3: move function prototype to nva3.h

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.c
drivers/gpu/drm/nouveau/core/subdev/clock/nva3.h
drivers/gpu/drm/nouveau/core/subdev/clock/nvaa.c