i965: Don't load if mode wasn't already set
This commit is contained in:
parent
c7a306a6c1
commit
6cea1dd330
@ -92,6 +92,7 @@ static void find_intel(uint32_t device, uint16_t v, uint16_t d, void * extra) {
|
||||
|
||||
static int i965_install(int argc, char * argv[]) {
|
||||
if (args_present("noi965")) return -ENODEV;
|
||||
if (!lfb_resolution_x) return -ENODEV;
|
||||
pci_scan(find_intel, -1, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user