summaryrefslogtreecommitdiffstats
path: root/src/loader/loader.c
diff options
context:
space:
mode:
authorQiang Yu <[email protected]>2018-08-06 11:19:26 +0800
committerEmil Velikov <[email protected]>2018-08-17 17:16:32 +0100
commit3bbe180b982639554685c997ff51a7cbbf3247e6 (patch)
tree60c412653a73d6ee25471e2a977ad47bfa8e80a8 /src/loader/loader.c
parente8b91e99e9965fa717be25da66fba0cdc3aef5dc (diff)
xmlconfig: add kernel_driver device attribute
This attribute can be used by loader to apply different option to device use specific kernel driver. Signed-off-by: Qiang Yu <[email protected]> Acked-by: Michel Dänzer <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/loader/loader.c')
-rw-r--r--src/loader/loader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 28a4c5855c9..9480be97fd0 100644
--- a/src/loader/loader.c
+++ b/src/loader/loader.c
@@ -118,7 +118,7 @@ static char *loader_get_dri_config_device_id(void)
char *prime = NULL;
driParseOptionInfo(&defaultInitOptions, __driConfigOptionsLoader);
- driParseConfigFiles(&userInitOptions, &defaultInitOptions, 0, "loader");
+ driParseConfigFiles(&userInitOptions, &defaultInitOptions, 0, "loader", NULL);
if (driCheckOption(&userInitOptions, "device_id", DRI_STRING))
prime = strdup(driQueryOptionstr(&userInitOptions, "device_id"));
driDestroyOptionCache(&userInitOptions);