diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvif/class.h')
| -rw-r--r-- | drivers/gpu/drm/nouveau/include/nvif/class.h | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvif/class.h b/drivers/gpu/drm/nouveau/include/nvif/class.h index 82235f30277c..3a2c0137d4b4 100644 --- a/drivers/gpu/drm/nouveau/include/nvif/class.h +++ b/drivers/gpu/drm/nouveau/include/nvif/class.h | |||
| @@ -2,23 +2,31 @@ | |||
| 2 | #define __NVIF_CLASS_H__ | 2 | #define __NVIF_CLASS_H__ |
| 3 | 3 | ||
| 4 | /* these class numbers are made up by us, and not nvidia-assigned */ | 4 | /* these class numbers are made up by us, and not nvidia-assigned */ |
| 5 | #define NVIF_CLASS_CONTROL /* if0001.h */ -1 | 5 | #define NVIF_CLASS_CLIENT /* if0000.h */ -0x00000000 |
| 6 | #define NVIF_CLASS_PERFMON /* if0002.h */ -2 | 6 | |
| 7 | #define NVIF_CLASS_PERFDOM /* if0003.h */ -3 | 7 | #define NVIF_CLASS_CONTROL /* if0001.h */ -0x00000001 |
| 8 | #define NVIF_CLASS_SW_NV04 /* if0004.h */ -4 | 8 | |
| 9 | #define NVIF_CLASS_SW_NV10 /* if0005.h */ -5 | 9 | #define NVIF_CLASS_PERFMON /* if0002.h */ -0x00000002 |
| 10 | #define NVIF_CLASS_SW_NV50 /* if0005.h */ -6 | 10 | #define NVIF_CLASS_PERFDOM /* if0003.h */ -0x00000003 |
| 11 | #define NVIF_CLASS_SW_GF100 /* if0005.h */ -7 | 11 | |
| 12 | #define NVIF_CLASS_SW_NV04 /* if0004.h */ -0x00000004 | ||
| 13 | #define NVIF_CLASS_SW_NV10 /* if0005.h */ -0x00000005 | ||
| 14 | #define NVIF_CLASS_SW_NV50 /* if0005.h */ -0x00000006 | ||
| 15 | #define NVIF_CLASS_SW_GF100 /* if0005.h */ -0x00000007 | ||
| 12 | 16 | ||
| 13 | /* the below match nvidia-assigned (either in hw, or sw) class numbers */ | 17 | /* the below match nvidia-assigned (either in hw, or sw) class numbers */ |
| 18 | #define NV_NULL_CLASS 0x00000030 | ||
| 19 | |||
| 14 | #define NV_DEVICE /* cl0080.h */ 0x00000080 | 20 | #define NV_DEVICE /* cl0080.h */ 0x00000080 |
| 15 | 21 | ||
| 16 | #define NV_DMA_FROM_MEMORY /* cl0002.h */ 0x00000002 | 22 | #define NV_DMA_FROM_MEMORY /* cl0002.h */ 0x00000002 |
| 17 | #define NV_DMA_TO_MEMORY /* cl0002.h */ 0x00000003 | 23 | #define NV_DMA_TO_MEMORY /* cl0002.h */ 0x00000003 |
| 18 | #define NV_DMA_IN_MEMORY /* cl0002.h */ 0x0000003d | 24 | #define NV_DMA_IN_MEMORY /* cl0002.h */ 0x0000003d |
| 19 | 25 | ||
| 26 | #define NV50_TWOD 0x0000502d | ||
| 20 | #define FERMI_TWOD_A 0x0000902d | 27 | #define FERMI_TWOD_A 0x0000902d |
| 21 | 28 | ||
| 29 | #define NV50_MEMORY_TO_MEMORY_FORMAT 0x00005039 | ||
| 22 | #define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x00009039 | 30 | #define FERMI_MEMORY_TO_MEMORY_FORMAT_A 0x00009039 |
| 23 | 31 | ||
| 24 | #define KEPLER_INLINE_TO_MEMORY_A 0x0000a040 | 32 | #define KEPLER_INLINE_TO_MEMORY_A 0x0000a040 |
| @@ -99,6 +107,12 @@ | |||
| 99 | #define GF110_DISP_OVERLAY_CONTROL_DMA /* cl507e.h */ 0x0000907e | 107 | #define GF110_DISP_OVERLAY_CONTROL_DMA /* cl507e.h */ 0x0000907e |
| 100 | #define GK104_DISP_OVERLAY_CONTROL_DMA /* cl507e.h */ 0x0000917e | 108 | #define GK104_DISP_OVERLAY_CONTROL_DMA /* cl507e.h */ 0x0000917e |
| 101 | 109 | ||
| 110 | #define NV50_TESLA 0x00005097 | ||
| 111 | #define G82_TESLA 0x00008297 | ||
| 112 | #define GT200_TESLA 0x00008397 | ||
| 113 | #define GT214_TESLA 0x00008597 | ||
| 114 | #define GT21A_TESLA 0x00008697 | ||
| 115 | |||
| 102 | #define FERMI_A /* cl9097.h */ 0x00009097 | 116 | #define FERMI_A /* cl9097.h */ 0x00009097 |
| 103 | #define FERMI_B /* cl9097.h */ 0x00009197 | 117 | #define FERMI_B /* cl9097.h */ 0x00009197 |
| 104 | #define FERMI_C /* cl9097.h */ 0x00009297 | 118 | #define FERMI_C /* cl9097.h */ 0x00009297 |
| @@ -140,6 +154,8 @@ | |||
| 140 | 154 | ||
| 141 | #define FERMI_DECOMPRESS 0x000090b8 | 155 | #define FERMI_DECOMPRESS 0x000090b8 |
| 142 | 156 | ||
| 157 | #define NV50_COMPUTE 0x000050c0 | ||
| 158 | #define GT214_COMPUTE 0x000085c0 | ||
| 143 | #define FERMI_COMPUTE_A 0x000090c0 | 159 | #define FERMI_COMPUTE_A 0x000090c0 |
| 144 | #define FERMI_COMPUTE_B 0x000091c0 | 160 | #define FERMI_COMPUTE_B 0x000091c0 |
| 145 | #define KEPLER_COMPUTE_A 0x0000a0c0 | 161 | #define KEPLER_COMPUTE_A 0x0000a0c0 |
