summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-10-27 10:55:54 +0300
committerBen Skeggs <bskeggs@redhat.com>2016-11-07 07:04:39 +0300
commit770b06e8cbdaae268286d627883c01f9ff7682f4 (patch)
tree206e9fb2e25480d2b627147b7fb6f459abea0090 /drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
parent60958b8f292244df8795ba11722a7632ef3d9dc7 (diff)
downloadlinux-770b06e8cbdaae268286d627883c01f9ff7682f4.tar.xz
drm/nouveau/fb: add gm20b device
gm20b's FB has the same capabilities as gm200, minus the ability to allocate RAM. Create a device that reflects this instead of re-using the gk20a device which may be incorrect. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-By: Karol Herbst <karolherbst@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
index 62f653240be3..fe5886013ac0 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
@@ -44,7 +44,7 @@ gm200_fb_init_page(struct nvkm_fb *fb)
}
}
-static void
+void
gm200_fb_init(struct nvkm_fb *base)
{
struct gf100_fb *fb = gf100_fb(base);