drm/nouveau/clk/gf100-: Clean up PLL locking test
authorRoy Spliet <nouveau@spliet.org>
Fri, 17 Jun 2016 21:16:13 +0000 (22:16 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit0f7fbb990cef8ac58a6e3f66046fbbe5a7ac174e
tree9145e91e3ccac6112c98ca95ebb87e1a4c94a2cd
parent20560a9a3c022ecd960e4657f491d2105da64869
drm/nouveau/clk/gf100-: Clean up PLL locking test

Corresponds with GT215. Don't rely on the lock test logic being
unconditionally enabled, and disable test logic when done (presumably
to save power).

v2: Remove warning, nvkm_msec already warns on time-out

Signed-off-by: Roy Spliet <nouveau@spliet.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/clk/gk104.c