You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
drm/nouveau: fix headless mode
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
@@ -477,7 +477,7 @@ nouveau_display_create(struct drm_device *dev)
|
||||
drm_kms_helper_poll_init(dev);
|
||||
drm_kms_helper_poll_disable(dev);
|
||||
|
||||
if (drm->vbios.dcb.entries) {
|
||||
if (nouveau_modeset != 2 && drm->vbios.dcb.entries) {
|
||||
static const u16 oclass[] = {
|
||||
GM107_DISP,
|
||||
GK110_DISP,
|
||||
|
||||
@@ -306,6 +306,7 @@ static int nouveau_drm_probe(struct pci_dev *pdev,
|
||||
#ifdef CONFIG_X86
|
||||
boot = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW;
|
||||
#endif
|
||||
if (nouveau_modeset != 2)
|
||||
remove_conflicting_framebuffers(aper, "nouveaufb", boot);
|
||||
kfree(aper);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user