drm/nouveau/fb: use correct ram oclass for nv1a hardware
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 12 Feb 2014 01:41:42 +0000 (01:41 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 18 Feb 2014 00:37:08 +0000 (10:37 +1000)
commit95ca5b550ac255bf3cee108c123407785c47e3cc
tree9e978a9a924deba220fc4c284ffbd8d824fe3a9f
parenta8c13aacdc20268ced05c9bb065c5d219840205e
drm/nouveau/fb: use correct ram oclass for nv1a hardware

commit 8613e7314ac254fdd67ed46192f021d76141e4c9
Author: Ben Skeggs <bskeggs@redhat.com>
Date:   Mon Oct 21 08:50:25 2013 +1000

    drm/nouveau/fb: remove ram oclass argument from base fb constructor

Introduced a unfortunate regression by using nv10 ram oclass for nv1a
hardware, causing corruption and eventually system lockup.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74866
Reported-by: John F. Godfrey <jfgodfrey@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: stable@vger.kernel.org # 3.13+
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c