aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-03-26 09:28:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-04-14 17:00:57 +1000
commit3fed3ea9fd8561ee7a5e6887bc087a4fd97c8e91 (patch)
tree4453c32f956c9e7beb2b6ffc2d577b237bb9b483 /drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c
parentdrm/nouveau: support for buffer moves via MaxwellDmaCopyA (diff)
downloadlinux-dev-3fed3ea9fd8561ee7a5e6887bc087a4fd97c8e91.tar.xz
linux-dev-3fed3ea9fd8561ee7a5e6887bc087a4fd97c8e91.zip
drm/nouveau/gr/gm204: initial init+ctx code
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c
index b66b1c6d5b25..298a33cd3c35 100644
--- a/drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c
+++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/gm100.c
@@ -129,9 +129,7 @@ gm100_identify(struct nvkm_device *device)
device->oclass[NVDEV_ENGINE_DMAOBJ ] = gf110_dmaeng_oclass;
device->oclass[NVDEV_ENGINE_FIFO ] = gm204_fifo_oclass;
device->oclass[NVDEV_ENGINE_SW ] = gf100_sw_oclass;
-#if 0
- device->oclass[NVDEV_ENGINE_GR ] = gm107_gr_oclass;
-#endif
+ device->oclass[NVDEV_ENGINE_GR ] = gm204_gr_oclass;
device->oclass[NVDEV_ENGINE_DISP ] = gm204_disp_oclass;
device->oclass[NVDEV_ENGINE_CE0 ] = &gm204_ce0_oclass;
device->oclass[NVDEV_ENGINE_CE1 ] = &gm204_ce1_oclass;