drm/nouveau: add TU102 support

-----BEGIN PGP SIGNATURE-----
 
 iQIcBAABAgAGBQJcQWdCAAoJEAx081l5xIa+tjwP/iy9jfgenXFqr/bX3drYE4oc
 CTAaDPec837ZOh/IWgLZKiYC29UCbkV9WuY8aIqrmuze6DS3H9Fgn9WwQdGwBuG9
 gmWmaf10Bb1/gr6zYvUrTtH5QI9Joaq6SDzR8itIgrYeI/1IULpooeeuicckjEqR
 jnRMKcyuwWkvsis1yLR/Azqcs2vpd/A63qTDg5aRRVUQOVzGPXxTRkvhyerT4xi8
 SB3qooynNDKKTiEM8301NcH9Ihcrpooc8+6HB/tb3XfftsDrX4tSzOFhkqWHYHGf
 +gSUPaDyACfQjjEDzZjYjxMA83c7Iy8V3ybNDxalDWj8rJRJolaPja0TlWFiWtmq
 RHMvKX138/lywsQnVgiG7aX0E21l7sfj10DCzmJMnnpXJGSA3Zr04/7hEfr/L8N4
 hDWvZZMfr7BcTgT1O+L00yl/w5iBU/cTBesEQMO732dsTVc25E+wfLTsegcReKDd
 Xt4a2iO8RGKhIET/OqQ8M3kPxB62IsmoohzJMWXHHhHSpHJUSF0x2wiEq6sgBsD4
 Sh5pHWOCOEvqKAHlOOcWobjRh62peUYFaGqKYoh/QwpAbDzVgph7jP8hDKrpQ4bd
 VPiPgl7esjcFr2IvQga8UPRvVh3XN3wfdzsRPmSjJPWy11KxP4NuYzXQHXQYY+iO
 wZDCzhZCY0J+Kjtz+NEv
 =2CkL
 -----END PGP SIGNATURE-----

Merge tag 'drm-fixes-2019-01-18-1' of git://anongit.freedesktop.org/drm/drm

Pull drm update from Dave Airlie:
 "Add nouveau TU102 (RTX 2080 Ti) support"

* tag 'drm-fixes-2019-01-18-1' of git://anongit.freedesktop.org/drm/drm:
  drm/nouveau/core: recognise TU102
This commit is contained in:
Linus Torvalds 2019-01-19 05:41:38 +12:00
commit c3653ebdf8
1 changed files with 33 additions and 0 deletions

View File

@ -2434,6 +2434,38 @@ nv140_chipset = {
.sec2 = gp102_sec2_new,
};
static const struct nvkm_device_chip
nv162_chipset = {
.name = "TU102",
.bar = tu104_bar_new,
.bios = nvkm_bios_new,
.bus = gf100_bus_new,
.devinit = tu104_devinit_new,
.fault = tu104_fault_new,
.fb = gv100_fb_new,
.fuse = gm107_fuse_new,
.gpio = gk104_gpio_new,
.i2c = gm200_i2c_new,
.ibus = gm200_ibus_new,
.imem = nv50_instmem_new,
.ltc = gp102_ltc_new,
.mc = tu104_mc_new,
.mmu = tu104_mmu_new,
.pci = gp100_pci_new,
.pmu = gp102_pmu_new,
.therm = gp100_therm_new,
.timer = gk20a_timer_new,
.top = gk104_top_new,
.ce[0] = tu104_ce_new,
.ce[1] = tu104_ce_new,
.ce[2] = tu104_ce_new,
.ce[3] = tu104_ce_new,
.ce[4] = tu104_ce_new,
.disp = tu104_disp_new,
.dma = gv100_dma_new,
.fifo = tu104_fifo_new,
};
static const struct nvkm_device_chip
nv164_chipset = {
.name = "TU104",
@ -2950,6 +2982,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
case 0x138: device->chip = &nv138_chipset; break;
case 0x13b: device->chip = &nv13b_chipset; break;
case 0x140: device->chip = &nv140_chipset; break;
case 0x162: device->chip = &nv162_chipset; break;
case 0x164: device->chip = &nv164_chipset; break;
case 0x166: device->chip = &nv166_chipset; break;
default: