summaryrefslogtreecommitdiff
path: root/radeon
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2011-10-11 14:38:34 -0700
committerEric Anholt <eric@anholt.net>2012-03-09 16:34:14 -0800
commit6e642db7f4a5628ed63ca3c479f06bd6f2ca3893 (patch)
tree1b9d390bf6b1c3263126103c531ce87f2d5120bb /radeon
parentfd39e61d0edfd30052d5f0b59b9215574e37942f (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 'radeon')
0 files changed, 0 insertions, 0 deletions