diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:31 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:28:18 +1000 |
commit | 771fa0e4d0c5cf6f5cfc915603e7a4a196346048 (patch) | |
tree | bf36b5f4cf35e70e8d8425ab460858a850573a19 /drivers/gpu/drm/nouveau/nouveau_display.c | |
parent | 0d48b58af3e052574b3e6bdd9779f00a750b50a4 (diff) |
drm/nouveau: fix headless mode
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 |
1 files changed, 1 insertions, 1 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) 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, |