]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 20 Jan 2017 03:56:30 +0000 (22:56 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 31 Jan 2017 10:05:26 +0000 (20:05 +1000)
commit729ba90d97eb7722279325469f1a772da370f217
tree6aeadac4a9dee3adc155b2bf65a72cdc8e1e2ed4
parent78337163df67104f5655f5f3507c492c09a9103e
drm/nouveau/nv1a,nv1f/disp: fix memory clock rate retrieval

Based on the xf86-video-nv code, NFORCE (NV1A) and NFORCE2 (NV1F) have a
different way of retrieving clocks. See the
nv_hw.c:nForceUpdateArbitrationSettings function in the original code
for how these clocks were accessed.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54587
Cc: stable@vger.kernel.org
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/hw.c