/[packages]/backports/8/kernel/current/SOURCES/drm-nouveau-recognise-GA103.patch
ViewVC logotype

Contents of /backports/8/kernel/current/SOURCES/drm-nouveau-recognise-GA103.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1875818 - (show annotations) (download)
Sun Aug 7 09:34:30 2022 UTC (20 months, 1 week ago) by tmb
File size: 2077 byte(s)
drm/nouveau: recognise GA103
1 From: Karol Herbst <kherbst@redhat.com>
2 Subject: [PATCH] drm/nouveau: recognise GA103
3 Date: Wed, 3 Aug 2022 16:27:45 +0200
4
5 Appears to be ok with general GA10x code.
6
7 Signed-off-by: Karol Herbst <kherbst@redhat.com>
8 Cc: <stable@vger.kernel.org> # v5.15+
9 ---
10 .../gpu/drm/nouveau/nvkm/engine/device/base.c | 22 +++++++++++++++++++
11 1 file changed, 22 insertions(+)
12
13 diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
14 index 62efbd0f3846..b7246b146e51 100644
15 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
16 +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
17 @@ -2605,6 +2605,27 @@ nv172_chipset = {
18 .fifo = { 0x00000001, ga102_fifo_new },
19 };
20
21 +static const struct nvkm_device_chip
22 +nv173_chipset = {
23 + .name = "GA103",
24 + .bar = { 0x00000001, tu102_bar_new },
25 + .bios = { 0x00000001, nvkm_bios_new },
26 + .devinit = { 0x00000001, ga100_devinit_new },
27 + .fb = { 0x00000001, ga102_fb_new },
28 + .gpio = { 0x00000001, ga102_gpio_new },
29 + .i2c = { 0x00000001, gm200_i2c_new },
30 + .imem = { 0x00000001, nv50_instmem_new },
31 + .mc = { 0x00000001, ga100_mc_new },
32 + .mmu = { 0x00000001, tu102_mmu_new },
33 + .pci = { 0x00000001, gp100_pci_new },
34 + .privring = { 0x00000001, gm200_privring_new },
35 + .timer = { 0x00000001, gk20a_timer_new },
36 + .top = { 0x00000001, ga100_top_new },
37 + .disp = { 0x00000001, ga102_disp_new },
38 + .dma = { 0x00000001, gv100_dma_new },
39 + .fifo = { 0x00000001, ga102_fifo_new },
40 +};
41 +
42 static const struct nvkm_device_chip
43 nv174_chipset = {
44 .name = "GA104",
45 @@ -3092,6 +3113,7 @@ nvkm_device_ctor(const struct nvkm_device_func *func,
46 case 0x167: device->chip = &nv167_chipset; break;
47 case 0x168: device->chip = &nv168_chipset; break;
48 case 0x172: device->chip = &nv172_chipset; break;
49 + case 0x173: device->chip = &nv173_chipset; break;
50 case 0x174: device->chip = &nv174_chipset; break;
51 case 0x176: device->chip = &nv176_chipset; break;
52 case 0x177: device->chip = &nv177_chipset; break;
53 --
54 2.37.1

  ViewVC Help
Powered by ViewVC 1.1.30