drm/nouveau/fb: add gm20b device
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 27 Oct 2016 07:55:54 +0000 (16:55 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:39 +0000 (14:04 +1000)
commit770b06e8cbdaae268286d627883c01f9ff7682f4
tree206e9fb2e25480d2b627147b7fb6f459abea0090
parent60958b8f292244df8795ba11722a7632ef3d9dc7
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>
drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.h
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm200.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm20b.c [new file with mode: 0644]