Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
igt-gpu-tools
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Labels
    • Milestones
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • drm
  • igt-gpu-tools
  • Issues
  • #30

Closed
Open
Opened Sep 11, 2019 by Bugzilla Migration User@bugzilla-migration
  • Report abuse
  • New issue
Report abuse New issue

Document configuration shadowing and clean up handling that in igt_core

Submitted by Arek Hiler

Assigned to Default DRI bug account

Link to original bug (#111637)

Description

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
2
Labels
easy pick severity::normal
Assign labels
  • View project labels
Reference: drm/igt-gpu-tools#30