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

Commit 75e482ef authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/bios/gv100: initial support



No real surprises here so far.

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 893855d8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2397,6 +2397,7 @@ nv13b_chipset = {
static const struct nvkm_device_chip
nv140_chipset = {
	.name = "GV100",
	.bios = nvkm_bios_new,
	.pci = gp100_pci_new,
};

+4 −1
Original line number Diff line number Diff line
@@ -78,6 +78,9 @@ pramin_init(struct nvkm_bios *bios, const char *name)
	 * important as we don't want to be touching vram on an
	 * uninitialised board
	 */
	if (device->card_type >= GV100)
		addr = nvkm_rd32(device, 0x625f04);
	else
		addr = nvkm_rd32(device, 0x619f04);
	if (!(addr & 0x00000008)) {
		nvkm_debug(subdev, "... not enabled\n");