drm/nouveau: headless mode by default if pci class != vga display
authorBen Skeggs <bskeggs@redhat.com>
Thu, 1 Nov 2012 06:16:32 +0000 (16:16 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Nov 2012 08:50:42 +0000 (09:50 +0100)
commit88f002cc7c9c55f40bdaaa720a39b6484cdfbb3f
treea116cb154f209a12ef47f2f58fd05707b56a9bfd
parentde540b704e2ba5681f5e697aa14cfd4e739b42ef
drm/nouveau: headless mode by default if pci class != vga display

This is to prevent nouveau from taking over the console on headless boards
such as Tesla.

Backport of upstream commit: e412e95a268fa8544858ebfe066826b290430d51

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/nouveau_drv.c
drivers/gpu/drm/nouveau/nouveau_state.c