Emil Velikov
2014-Feb-12 01:41 UTC
[Nouveau] [PATCH] drm/nouveau/fb: use correct ram oclass for nv1a hardware
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/show_bug.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+ --- 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 @@ nv1a_fb_oclass = &(struct nv04_fb_impl) { .fini = _nouveau_fb_fini, }, .base.memtype = nv04_fb_memtype_valid, - .base.ram = &nv10_ram_oclass, + .base.ram = &nv1a_ram_oclass, .tile.regions = 8, .tile.init = nv10_fb_tile_init, .tile.fini = nv10_fb_tile_fini, -- 1.8.5.4
Ben Skeggs
2014-Feb-14 02:00 UTC
[Nouveau] [PATCH] drm/nouveau/fb: use correct ram oclass for nv1a hardware
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/show_bug.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 @@ nv1a_fb_oclass = &(struct nv04_fb_impl) { > .fini = _nouveau_fb_fini, > }, > .base.memtype = nv04_fb_memtype_valid, > - .base.ram = &nv10_ram_oclass, > + .base.ram = &nv1a_ram_oclass, > .tile.regions = 8, > .tile.init = nv10_fb_tile_init, > .tile.fini = nv10_fb_tile_fini, > -- > 1.8.5.4 > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/nouveau
Reasonably Related Threads
- [PATCH] nouveau: fix chipset checks for nv1a by using the oclass instead
- [Bug 74866] New: This info is from a git bisect I did 20140211
- [Bug 63481] New: Nouveau driver - No monitor signal on chipset NV1A (family NV10) since bisected bad commit ebb945a94bba2ce8dff7b0942ff2b3f2a52a0a69 in kernel 3.7.9
- Kernel crash in 3.17-rc1 when loading nouveau on (non-POSTed) NV1A
- [Bug 87552] New: [NV1A] 3.18.1 BUG on modprobe nouveau in drivers/gpu/drm/nouveau/core/core/event.c:42