diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-18 12:46:15 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-05-18 17:43:49 +0300 |
commit | 29f31623d7a83048b1c90a4db89b6f325bfde942 (patch) | |
tree | d64753740853980b6843ff9b26b2520e937f642f /drivers/gpu/drm/i915/intel_uncore.c | |
parent | ac0a73fb526100adc521ec2069623e47ca3997a8 (diff) | |
download | linux-29f31623d7a83048b1c90a4db89b6f325bfde942.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_uncore.c')
0 files changed, 0 insertions, 0 deletions