From: Alexandre Courbot Date: Tue, 12 Aug 2014 22:16:52 +0000 (-0700) Subject: drm/nouveau/gk20a: add LTC device X-Git-Tag: v4.13~6816^2~1^2~1 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=5d6d94f76100e24dfd7a3e20a0f8504f478f52f9;p=mirror_ubuntu-bionic-kernel.git drm/nouveau/gk20a: add LTC device LTC device is now required for PGRAPH to work, add it. Signed-off-by: Alexandre Courbot Signed-off-by: Ben Skeggs --- 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;