[Intel-gfx] [PATCH 01/24] drm/i915/selftests: Pretend to be a gfx pci device

Chris Wilson chris at chris-wilson.co.uk
Fri May 19 09:10:28 UTC 2017


On Fri, May 19, 2017 at 12:02:48PM +0300, Joonas Lahtinen wrote:
> On to, 2017-05-18 at 10:46 +0100, Chris Wilson wrote:
> > 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 at chris-wilson.co.uk>
> 
> I'm not hundred percent sure how this connects to the referenced bug,
> but it's correct:

The bug is an ENOMEM from intel-iommu.c as it tried to allocate an iommu
domain. My goal is to circumvent that allocation by using its gfx special
case.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list