Skip to content

Commit 95ca5b5

Browse files
evelikovBen Skeggs
authored andcommitted
drm/nouveau/fb: use correct ram oclass for nv1a hardware
commit 8613e73 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>
1 parent a8c13aa commit 95ca5b5

File tree

1 file changed

+1
-1
lines changed
  • drivers/gpu/drm/nouveau/core/subdev/fb

1 file changed

+1
-1
lines changed

drivers/gpu/drm/nouveau/core/subdev/fb/nv1a.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ nv1a_fb_oclass = &(struct nv04_fb_impl) {
3636
.fini = _nouveau_fb_fini,
3737
},
3838
.base.memtype = nv04_fb_memtype_valid,
39-
.base.ram = &nv10_ram_oclass,
39+
.base.ram = &nv1a_ram_oclass,
4040
.tile.regions = 8,
4141
.tile.init = nv10_fb_tile_init,
4242
.tile.fini = nv10_fb_tile_fini,

0 commit comments

Comments
 (0)