commit | 29f31623d7a83048b1c90a4db89b6f325bfde942 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 18 10:46:15 2017 +0100 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Thu May 18 15:43:49 2017 +0100 |
tree | d64753740853980b6843ff9b26b2520e937f642f | |
parent | ac0a73fb526100adc521ec2069623e47ca3997a8 [diff] |
drm/i915/selftests: Pretend to be a gfx pci device Set the class on our mock pci device to GFX. This should be useful for utilities like intel-iommu that special case gfx devices. References: https://bugs.freedesktop.org/show_bug.cgi?id=101080 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170518094638.5469-1-chris@chris-wilson.co.uk Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>