diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2015-02-20 12:23:00 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-04-14 10:00:42 +0300 |
commit | a6ff85d386368da8180828e5948ec38b39f4a226 (patch) | |
tree | 77233ae77f8e9022f801d20520040b8af08073e5 /drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c | |
parent | eaecf0326f096faaba462eae48a3b30bcb1f7009 (diff) | |
download | linux-a6ff85d386368da8180828e5948ec38b39f4a226.tar.xz |
drm/nouveau/instmem/gk20a: move memory allocation to instmem
GK20A does not have dedicated RAM, thus having a RAM device for it does
not make sense. Move the contiguous physical memory allocation to
instmem.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c index bf5893458a47..8f266a9a34a6 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/gk104.c @@ -171,7 +171,7 @@ gk104_identify(struct nvkm_device *device) 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_INSTMEM] = gk20a_instmem_oclass; device->oclass[NVDEV_SUBDEV_MMU ] = &gf100_mmu_oclass; device->oclass[NVDEV_SUBDEV_BAR ] = &gk20a_bar_oclass; device->oclass[NVDEV_ENGINE_DMAOBJ ] = gf110_dmaeng_oclass; |