drm/radeon: restore nomodeset operation
Subsystems (2)
Dave Airlie
maintainerPATCH 1/1 drm/radeon: restore nomodeset operation
From: Dave Airlie <[email protected]>
When UMS was deprecated it removed support for nomodeset commandline we really want this in distro land so we can debug stuff, everyone should fallback to vesa correctly.
Signed-off-by Dave Airlie <[email protected]>
--- drivers/gpu/drm/radeon/radeon_drv.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/gpu/drm/radeon/radeon_drv.c +7 -0
@@ -456,6 +456,13 @@ static struct pci_driver radeon_kms_pci_driver = {static int __init radeon_init (void ) { +#ifdef CONFIG_VGA_CONSOLE +if (vgacon_text_force () && radeon_modeset ==-1 ) { +DRM_INFO ("VGACON disable radeon kernel modesetting.\n" ); + radeon_modeset =0 ; + } +#endif +if (radeon_modeset ==1 ) {DRM_INFO ("radeon kernel modesetting enabled.\n" ); driver = &kms_driver;
Signature · 1 line
1.8.1.2