diff options
author | Qiang Yu <[email protected]> | 2018-08-06 11:19:26 +0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-08-17 17:16:32 +0100 |
commit | 3bbe180b982639554685c997ff51a7cbbf3247e6 (patch) | |
tree | 60c412653a73d6ee25471e2a977ad47bfa8e80a8 /src/gallium | |
parent | e8b91e99e9965fa717be25da66fba0cdc3aef5dc (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/gallium')
-rw-r--r-- | src/gallium/auxiliary/pipe-loader/pipe_loader.c | 2 | ||||
-rw-r--r-- | src/gallium/targets/d3dadapter9/drm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c index e7cf9f86d99..6fd15527e53 100644 --- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c +++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c @@ -108,7 +108,7 @@ pipe_loader_load_options(struct pipe_loader_device *dev) driParseOptionInfo(&dev->option_info, xml_options); driParseConfigFiles(&dev->option_cache, &dev->option_info, 0, - dev->driver_name); + dev->driver_name, NULL); } char * diff --git a/src/gallium/targets/d3dadapter9/drm.c b/src/gallium/targets/d3dadapter9/drm.c index 9c5bd8a15b2..85b3e10633e 100644 --- a/src/gallium/targets/d3dadapter9/drm.c +++ b/src/gallium/targets/d3dadapter9/drm.c @@ -252,7 +252,7 @@ drm_create_adapter( int fd, ctx->base.throttling = FALSE; driParseOptionInfo(&defaultInitOptions, __driConfigOptionsNine); - driParseConfigFiles(&userInitOptions, &defaultInitOptions, 0, "nine"); + driParseConfigFiles(&userInitOptions, &defaultInitOptions, 0, "nine", NULL); if (driCheckOption(&userInitOptions, "throttle_value", DRI_INT)) { throttling_value_user = driQueryOptioni(&userInitOptions, "throttle_value"); if (throttling_value_user == -1) |