diff options
| -rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 | ||||
| -rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 62f969608c2f..1cc7b603c753 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c | |||
| @@ -477,7 +477,7 @@ nouveau_display_create(struct drm_device *dev) | |||
| 477 | drm_kms_helper_poll_init(dev); | 477 | drm_kms_helper_poll_init(dev); |
| 478 | drm_kms_helper_poll_disable(dev); | 478 | drm_kms_helper_poll_disable(dev); |
| 479 | 479 | ||
| 480 | if (drm->vbios.dcb.entries) { | 480 | if (nouveau_modeset != 2 && drm->vbios.dcb.entries) { |
| 481 | static const u16 oclass[] = { | 481 | static const u16 oclass[] = { |
| 482 | GM107_DISP, | 482 | GM107_DISP, |
| 483 | GK110_DISP, | 483 | GK110_DISP, |
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 12b5ba3d4fdc..14fb8e86f5bc 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c | |||
| @@ -306,7 +306,8 @@ static int nouveau_drm_probe(struct pci_dev *pdev, | |||
| 306 | #ifdef CONFIG_X86 | 306 | #ifdef CONFIG_X86 |
| 307 | boot = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; | 307 | boot = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; |
| 308 | #endif | 308 | #endif |
| 309 | remove_conflicting_framebuffers(aper, "nouveaufb", boot); | 309 | if (nouveau_modeset != 2) |
| 310 | remove_conflicting_framebuffers(aper, "nouveaufb", boot); | ||
| 310 | kfree(aper); | 311 | kfree(aper); |
| 311 | 312 | ||
| 312 | ret = nouveau_device_create(pdev, NOUVEAU_BUS_PCI, | 313 | ret = nouveau_device_create(pdev, NOUVEAU_BUS_PCI, |
