Bug 111637 - Document configuration shadowing and clean up handling that in igt_core
Summary: Document configuration shadowing and clean up handling that in igt_core
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: IGT (show other bugs)
Version: unspecified
Hardware: Other All
: not set normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-11 05:14 UTC by Arek Hiler
Modified: 2019-11-12 07:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arek Hiler 2019-09-11 05:14:49 UTC
The current agreed order of importance is as follows:
.igtrc < ENV < --switch

or to put it in words
.igtrc option is less important than ENV
.igtrc and ENV are both less important than --switch

Real world example:
https://patchwork.freedesktop.org/series/63553/

device for IGT execution can be specified as Common::Device in .igtrc, IGT_DEVICE env variable or --device switch on command line.

The idea is that .igtrc is the default set on the machine that can be overwritten for the whole session with env or just for a single test with --device.

This needs to be documented and the whey we handle this in igt_core.c could use some streamlining.
Comment 1 Martin Peres 2019-11-12 07:41:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/30.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.