aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/include
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2018-12-10 23:50:02 -0500
committerBen Skeggs <bskeggs@redhat.com>2018-12-11 00:37:50 -0500
commit344d9c8f35b99bbb893d0e2bce5f41b72f9b5f26 (patch)
tree636fc473cd9fc42cc3de75ba98d2cbd69df4b3cd /drivers/gpu/drm/nouveau/include
parentcb55cd0c66a16fd965a44e2634755b060dc64bd7 (diff)
drm/nouveau/core: recognise TU104
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r--drivers/gpu/drm/nouveau/include/nvif/cl0080.h1
-rw-r--r--drivers/gpu/drm/nouveau/include/nvkm/core/device.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/cl0080.h b/drivers/gpu/drm/nouveau/include/nvif/cl0080.h
index 4f5233107f5f..4cbed0329367 100644
--- a/drivers/gpu/drm/nouveau/include/nvif/cl0080.h
+++ b/drivers/gpu/drm/nouveau/include/nvif/cl0080.h
@@ -32,6 +32,7 @@ struct nv_device_info_v0 {
32#define NV_DEVICE_INFO_V0_MAXWELL 0x09 32#define NV_DEVICE_INFO_V0_MAXWELL 0x09
33#define NV_DEVICE_INFO_V0_PASCAL 0x0a 33#define NV_DEVICE_INFO_V0_PASCAL 0x0a
34#define NV_DEVICE_INFO_V0_VOLTA 0x0b 34#define NV_DEVICE_INFO_V0_VOLTA 0x0b
35#define NV_DEVICE_INFO_V0_TURING 0x0c
35 __u8 family; 36 __u8 family;
36 __u8 pad06[2]; 37 __u8 pad06[2];
37 __u64 ram_size; 38 __u64 ram_size;
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/core/device.h b/drivers/gpu/drm/nouveau/include/nvkm/core/device.h
index feb2215f1ca7..9457be12c522 100644
--- a/drivers/gpu/drm/nouveau/include/nvkm/core/device.h
+++ b/drivers/gpu/drm/nouveau/include/nvkm/core/device.h
@@ -117,6 +117,7 @@ struct nvkm_device {
117 GM100 = 0x110, 117 GM100 = 0x110,
118 GP100 = 0x130, 118 GP100 = 0x130,
119 GV100 = 0x140, 119 GV100 = 0x140,
120 TU100 = 0x160,
120 } card_type; 121 } card_type;
121 u32 chipset; 122 u32 chipset;
122 u8 chiprev; 123 u8 chiprev;