drm/nouveau: support modesetting on GM107
authorBen Skeggs <bskeggs@redhat.com>
Mon, 24 Feb 2014 04:29:55 +0000 (14:29 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 26 Mar 2014 04:01:00 +0000 (14:01 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_abi16.c
drivers/gpu/drm/nouveau/nouveau_display.c

index 66abf4d6e5756a539e10ea33b92268243f8cd5bb..e0be8a1a6c7c51ec34ba68f0ef310e846de16405 100644 (file)
@@ -97,6 +97,7 @@ nouveau_abi16_swclass(struct nouveau_drm *drm)
        case NV_C0:
        case NV_D0:
        case NV_E0:
+       case GM100:
                return 0x906e;
        }
 
index 24011596af434276bbe1b9a82a26252229c20c5a..1eb86dadeb2773468759a426e1b3e46c32727114 100644 (file)
@@ -488,6 +488,7 @@ nouveau_display_create(struct drm_device *dev)
 
        if (drm->vbios.dcb.entries) {
                static const u16 oclass[] = {
+                       GM107_DISP_CLASS,
                        NVF0_DISP_CLASS,
                        NVE0_DISP_CLASS,
                        NVD0_DISP_CLASS,