[Nouveau] [PATCH] drm/nouveau/fb: use correct ram oclass for nv1a hardware (original) (raw)

Ben Skeggs skeggsb at gmail.com
Thu Feb 13 18:00:37 PST 2014


On Wed, Feb 12, 2014 at 11:41 AM, Emil Velikov <emil.l.velikov at gmail.com> wrote:

commit 8613e7314ac254fdd67ed46192f021d76141e4c9 Author: Ben Skeggs <bskeggs at 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/showbug.cgi?id=74866 Reported-by: John F. Godfrey <jfgodfrey at gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com> Cc: stable at vger.kernel.org # 3.13+ Thanks :)

--- drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c b/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c index 9159a5c..265d125 100644 --- a/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c +++ b/drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c @@ -36,7 +36,7 @@ nv1afboclass = &(struct nv04fbimpl) { .fini = nouveaufbfini, }, .base.memtype = nv04fbmemtypevalid, - .base.ram = &nv10ramoclass, + .base.ram = &nv1aramoclass, .tile.regions = 8, .tile.init = nv10fbtileinit, .tile.fini = nv10fbtilefini, -- 1.8.5.4


Nouveau mailing list Nouveau at lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/nouveau



More information about the dri-devel mailing list