Commit a3463248 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/bios/ga10[024]: initial support

Forcing PRAMIN-shadowing off for GA100, as it requires display, and we don't
know if/where the fuse register for detecting its presence is.
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 70afbe4b
......@@ -2655,18 +2655,21 @@ nv168_chipset = {
static const struct nvkm_device_chip
nv170_chipset = {
.name = "GA100",
.bios = nvkm_bios_new,
.pci = gp100_pci_new,
};
static const struct nvkm_device_chip
nv172_chipset = {
.name = "GA102",
.bios = nvkm_bios_new,
.pci = gp100_pci_new,
};
static const struct nvkm_device_chip
nv174_chipset = {
.name = "GA104",
.bios = nvkm_bios_new,
.pci = gp100_pci_new,
};
......
......@@ -64,6 +64,9 @@ pramin_init(struct nvkm_bios *bios, const char *name)
return NULL;
/* we can't get the bios image pointer without PDISP */
if (device->card_type >= GA100)
addr = device->chipset == 0x170; /*XXX: find the fuse reg for this */
else
if (device->card_type >= GM100)
addr = nvkm_rd32(device, 0x021c04);
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment