diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2011-10-11 14:38:34 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-03-09 16:34:14 -0800 |
commit | 6e642db7f4a5628ed63ca3c479f06bd6f2ca3893 (patch) | |
tree | 1b9d390bf6b1c3263126103c531ce87f2d5120bb /include/drm/savage_drm.h | |
parent | fd39e61d0edfd30052d5f0b59b9215574e37942f (diff) |
intel: Add support for overriding the PCI ID via an environment variable
For example:
export INTEL_DEVID_OVERRIDE=0x162
If this variable is set, don't actually submit the batchbuffer to the
GPU, it probably contains commands for the wrong generation of hardware.
v2: Introduce a getter for the overridden devid, and avoid getenv per exec.
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/drm/savage_drm.h')
0 files changed, 0 insertions, 0 deletions