drm/nvc0/ltcg: read LTS count at startup
authorBen Skeggs <bskeggs@redhat.com>
Wed, 5 Sep 2012 02:19:26 +0000 (12:19 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 3 Oct 2012 03:13:09 +0000 (13:13 +1000)
commitcd8c14b407d59ac4b8d324f5f9cdf223a2079c88
treeacefb0b8c55217d6e9663fd29f75f08f1b992b0d
parente5bf578ce61aecd4612d16e60235c11ed5f92c0e
drm/nvc0/ltcg: read LTS count at startup

Not really sure how to confirm this 100%, but, the numbers match on all the
traces I have for NVCx (2 LTS), NVD9 (1LTS) and NVEx (4LTS).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/ltcg/nvc0.c