xfree86: loader: warn when implicitly ignoring abi mismatch

for the nvidia proprietary DDX driver

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111
2025-08-01 02:16:23 +03:00
committed by Enrico Weigelt
parent 32da71a6e5
commit 7c732656f8

View File

@@ -682,6 +682,12 @@ LoadModule(const char *module, void *options, const XF86ModReqInfo *modreq,
m = (char *) module;
}
if (is_nvidia_proprietary && !LoaderIgnoreAbi) {
/* warn every time this is hit */
LogMessage(X_WARNING, "LoadModule: Implicitly ignoring abi mismatch "
"for the nvidia proprierary DDX driver\n");
}
/* Backward compatibility, vbe and int10 are merged into int10 now */
if (!strcmp(m, "vbe"))
m = name = strdup("int10");