Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80a92865 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/fb/ram/gf100-: remove 0x10f200 read



This reg has moved on Pascal, and causes a bus fault.

We never use the value anyway, so just remove the read.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent e6db9579
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -638,7 +638,6 @@ gf100_ram_ctor(const struct nvkm_ram_func *func, struct nvkm_fb *fb,
			return ret;
	}

	ram->ranks = (nvkm_rd32(device, 0x10f200) & 0x00000004) ? 2 : 1;
	return 0;
}