diff options
| author | John Rowley <john.rowley08@gmail.com> | 2014-05-12 17:34:56 -0400 |
|---|---|---|
| committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-10 02:05:50 -0400 |
| commit | 9abdbab031f3f4f1817ecac737771b071eb48443 (patch) | |
| tree | 37534edf540141e07fb1a4e8ae0e14010bc01901 | |
| parent | 52e98f1a84094f9cfb36d02a73bc4271a71c70eb (diff) | |
drm/nvf1/device: add support for 0xf1 (gk110b)
Signed-off-by: John Rowley <john.rowley08@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
| -rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c index 964c183322a2..6e72f9c006e2 100644 --- a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c +++ b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c | |||
| @@ -208,6 +208,41 @@ nve0_identify(struct nouveau_device *device) | |||
| 208 | #endif | 208 | #endif |
| 209 | device->oclass[NVDEV_ENGINE_PERFMON] = &nvf0_perfmon_oclass; | 209 | device->oclass[NVDEV_ENGINE_PERFMON] = &nvf0_perfmon_oclass; |
| 210 | break; | 210 | break; |
| 211 | case 0xf1: | ||
| 212 | device->cname = "GK110B"; | ||
| 213 | device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass; | ||
| 214 | device->oclass[NVDEV_SUBDEV_GPIO ] = &nve0_gpio_oclass; | ||
| 215 | device->oclass[NVDEV_SUBDEV_I2C ] = &nvd0_i2c_oclass; | ||
| 216 | device->oclass[NVDEV_SUBDEV_CLOCK ] = &nve0_clock_oclass; | ||
| 217 | device->oclass[NVDEV_SUBDEV_THERM ] = &nvd0_therm_oclass; | ||
| 218 | device->oclass[NVDEV_SUBDEV_MXM ] = &nv50_mxm_oclass; | ||
| 219 | device->oclass[NVDEV_SUBDEV_DEVINIT] = nvc0_devinit_oclass; | ||
| 220 | device->oclass[NVDEV_SUBDEV_MC ] = nvc3_mc_oclass; | ||
| 221 | device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass; | ||
| 222 | device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass; | ||
| 223 | device->oclass[NVDEV_SUBDEV_FB ] = nve0_fb_oclass; | ||
| 224 | device->oclass[NVDEV_SUBDEV_LTCG ] = gf100_ltcg_oclass; | ||
| 225 | device->oclass[NVDEV_SUBDEV_IBUS ] = &nve0_ibus_oclass; | ||
| 226 | device->oclass[NVDEV_SUBDEV_INSTMEM] = nv50_instmem_oclass; | ||
| 227 | device->oclass[NVDEV_SUBDEV_VM ] = &nvc0_vmmgr_oclass; | ||
| 228 | device->oclass[NVDEV_SUBDEV_BAR ] = &nvc0_bar_oclass; | ||
| 229 | device->oclass[NVDEV_SUBDEV_PWR ] = &nvd0_pwr_oclass; | ||
| 230 | device->oclass[NVDEV_SUBDEV_VOLT ] = &nv40_volt_oclass; | ||
| 231 | device->oclass[NVDEV_ENGINE_DMAOBJ ] = &nvd0_dmaeng_oclass; | ||
| 232 | device->oclass[NVDEV_ENGINE_FIFO ] = nve0_fifo_oclass; | ||
| 233 | device->oclass[NVDEV_ENGINE_SW ] = nvc0_software_oclass; | ||
| 234 | device->oclass[NVDEV_ENGINE_GR ] = nvf0_graph_oclass; | ||
| 235 | device->oclass[NVDEV_ENGINE_DISP ] = nvf0_disp_oclass; | ||
| 236 | device->oclass[NVDEV_ENGINE_COPY0 ] = &nve0_copy0_oclass; | ||
| 237 | device->oclass[NVDEV_ENGINE_COPY1 ] = &nve0_copy1_oclass; | ||
| 238 | device->oclass[NVDEV_ENGINE_COPY2 ] = &nve0_copy2_oclass; | ||
| 239 | #if 0 | ||
| 240 | device->oclass[NVDEV_ENGINE_BSP ] = &nve0_bsp_oclass; | ||
| 241 | device->oclass[NVDEV_ENGINE_VP ] = &nve0_vp_oclass; | ||
| 242 | device->oclass[NVDEV_ENGINE_PPP ] = &nvc0_ppp_oclass; | ||
| 243 | #endif | ||
| 244 | device->oclass[NVDEV_ENGINE_PERFMON] = &nvf0_perfmon_oclass; | ||
| 245 | break; | ||
| 211 | case 0x108: | 246 | case 0x108: |
| 212 | device->cname = "GK208"; | 247 | device->cname = "GK208"; |
| 213 | device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass; | 248 | device->oclass[NVDEV_SUBDEV_VBIOS ] = &nouveau_bios_oclass; |
