Commit a1c771a5 authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/top/gv100: initial support

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 8769dc98
......@@ -2400,6 +2400,7 @@ nv140_chipset = {
.bios = nvkm_bios_new,
.devinit = gv100_devinit_new,
.pci = gp100_pci_new,
.top = gk104_top_new,
};
static int
......
......@@ -48,7 +48,8 @@ gk104_top_oneinit(struct nvkm_top *top)
case 0x00000001: /* DATA */
inst = (data & 0x3c000000) >> 26;
info->addr = (data & 0x00fff000);
info->fault = (data & 0x000000f8) >> 3;
if (data & 0x00000004)
info->fault = (data & 0x000003f8) >> 3;
break;
case 0x00000002: /* ENUM */
if (data & 0x00000020)
......
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