driconfig: Add support for device specific config
Add support for driconf overrides on a per-device level, for cases where we don't want to override behavior for all devices supported by a particular driver. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12135>
This commit is contained in:
@@ -143,7 +143,7 @@ TEST_F(xmlconfig_test, copy_cache)
|
||||
* user's homedir/environment that would override us.
|
||||
*/
|
||||
driParseConfigFiles(&cache, &options,
|
||||
0, "driver", "drm",
|
||||
0, "driver", "drm", NULL,
|
||||
NULL, 0,
|
||||
NULL, 0);
|
||||
|
||||
@@ -184,7 +184,7 @@ xmlconfig_test::drirc_init(const char *driver, const char *drm,
|
||||
* based on the setting of $HOME by meson.build.
|
||||
*/
|
||||
driParseConfigFiles(&cache, &options,
|
||||
0, driver, drm,
|
||||
0, driver, drm, NULL,
|
||||
app, appver,
|
||||
engine, enginever);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user