diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-08-12 15:16:52 -0700 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-15 07:58:39 +1000 |
commit | 5d6d94f76100e24dfd7a3e20a0f8504f478f52f9 (patch) | |
tree | 3143767772e633ce1489c049e27218b35860c303 /drivers | |
parent | c9a6fd97335e59a113b53390579379c27fe64ed4 (diff) | |
download | linux-stable-5d6d94f76100e24dfd7a3e20a0f8504f478f52f9.tar.gz linux-stable-5d6d94f76100e24dfd7a3e20a0f8504f478f52f9.tar.bz2 linux-stable-5d6d94f76100e24dfd7a3e20a0f8504f478f52f9.zip |
drm/nouveau/gk20a: add LTC device
LTC device is now required for PGRAPH to work, add it.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/device/nve0.c | 1 |
1 files changed, 1 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 54ec53bc6252..cdf9147f32a1 100644 --- a/drivers/gpu/drm/nouveau/core/engine/device/nve0.c +++ b/drivers/gpu/drm/nouveau/core/engine/device/nve0.c @@ -163,6 +163,7 @@ nve0_identify(struct nouveau_device *device) device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass; device->oclass[NVDEV_SUBDEV_TIMER ] = &gk20a_timer_oclass; device->oclass[NVDEV_SUBDEV_FB ] = gk20a_fb_oclass; + device->oclass[NVDEV_SUBDEV_LTC ] = gk104_ltc_oclass; device->oclass[NVDEV_SUBDEV_IBUS ] = &gk20a_ibus_oclass; device->oclass[NVDEV_SUBDEV_INSTMEM] = nv50_instmem_oclass; device->oclass[NVDEV_SUBDEV_VM ] = &nvc0_vmmgr_oclass; |