Stefano Belli
2017-Jan-22 17:00 UTC
[Nouveau] [GP107 chipset][PATCH] Recognise GP107 chipset (GTX 1050/1050ti)
Hello everyone, I would like to submit a simple patch to let nouveau able to detect GTX 1050 / 1050ti cards. TESTED and WORKING on my computer with my GPU (Gigabyte GTX 1050ti OC edition). drivers/gpu/drm/nouveau/nvkm/engine/device/ base.c gpu_nouveau_gp107.patch 2272a2273,2301> static const struct nvkm_device_chip > nv137_chipset = { > .name = "GP107", > .bar = gf100_bar_new, > .bios = nvkm_bios_new, > .bus = gf100_bus_new, > .devinit = gm200_devinit_new, > .fb = gp102_fb_new, > .fuse = gm107_fuse_new, > .gpio = gk104_gpio_new, > .i2c = gm200_i2c_new, > .ibus = gm200_ibus_new, > .imem = nv50_instmem_new, > .ltc = gp100_ltc_new, > .mc = gp100_mc_new, > .mmu = gf100_mmu_new, > .pci = gp100_pci_new, > .pmu = gp102_pmu_new, > .timer = gk20a_timer_new, > .top = gk104_top_new, > .ce[0] = gp102_ce_new, > .ce[1] = gp102_ce_new, > .ce[2] = gp102_ce_new, > .ce[3] = gp102_ce_new, > .disp = gp102_disp_new, > .dma = gf119_dma_new, > .fifo = gp100_fifo_new, > }; >2709a2739> case 0x137: device->chip = &nv137_chipset; break;-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170122/f9da109b/attachment.html>
Ben Skeggs
2017-Jan-23 21:43 UTC
[Nouveau] [GP107 chipset][PATCH] Recognise GP107 chipset (GTX 1050/1050ti)
On 01/23/2017 03:00 AM, Stefano Belli wrote:> Hello everyone, I would like to submit a simple patch to let nouveau > able to detect GTX 1050 / 1050ti cards. TESTED and WORKING on my > computer with my GPU (Gigabyte GTX 1050ti OC edition). > > drivers/gpu/drm/nouveau/nvkm/engine/device/ > base.cAre you able to get a mmiotrace[1] of the binary driver, so I can take a quick look to ensure that nothing subtle has changed that needs to be handled? Thanks, Ben. [1] https://nouveau.freedesktop.org/wiki/MmioTrace/> > gpu_nouveau_gp107.patch > > 2272a2273,2301 >> static const struct nvkm_device_chip >> nv137_chipset = { >> .name = "GP107", >> .bar = gf100_bar_new, >> .bios = nvkm_bios_new, >> .bus = gf100_bus_new, >> .devinit = gm200_devinit_new, >> .fb = gp102_fb_new, >> .fuse = gm107_fuse_new, >> .gpio = gk104_gpio_new, >> .i2c = gm200_i2c_new, >> .ibus = gm200_ibus_new, >> .imem = nv50_instmem_new, >> .ltc = gp100_ltc_new, >> .mc = gp100_mc_new, >> .mmu = gf100_mmu_new, >> .pci = gp100_pci_new, >> .pmu = gp102_pmu_new, >> .timer = gk20a_timer_new, >> .top = gk104_top_new, >> .ce[0] = gp102_ce_new, >> .ce[1] = gp102_ce_new, >> .ce[2] = gp102_ce_new, >> .ce[3] = gp102_ce_new, >> .disp = gp102_disp_new, >> .dma = gf119_dma_new, >> .fifo = gp100_fifo_new, >> }; >> > 2709a2739 >> case 0x137: device->chip = &nv137_chipset; break; > > > > > > _______________________________________________ > Nouveau mailing list > Nouveau at lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/nouveau >-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170124/30f26aa6/attachment.sig>
Maybe Matching Threads
- [PATCH] initial support (display-only) for GP108
- [PATCH] drm/nouveau/core: recognise GP107 chipset
- [RFC PATCH] drm/nouveau/therm: initial implementation of new gp1xx temperature sensor
- [PATCH] drm/nouveau/core: recognise GP107 chipset
- [PATCH v2] drm/nouveau/therm: initial implementation of new gp1xx temperature sensor