Re: [Intel-gfx] [PATCH] drm/i915/selftests: Only touch archdata.iommu when it exists

2017-09-19 Thread Chris Wilson
Quoting Matthew Auld (2017-09-18 19:35:15) > On 18 September 2017 at 17:46, Chris Wilson wrote: > > archdata.iommu only exists when CONFIG_IOMMU_API is enabled (and only > > applies to intel-iommu in our case) so conditionally compile it when it > > doesn't exist. > > > > Fixes: b5891fb520f7 ("drm

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Only touch archdata.iommu when it exists

2017-09-18 Thread Matthew Auld
On 18 September 2017 at 17:46, Chris Wilson wrote: > archdata.iommu only exists when CONFIG_IOMMU_API is enabled (and only > applies to intel-iommu in our case) so conditionally compile it when it > doesn't exist. > > Fixes: b5891fb520f7 ("drm/i915/selftests: Disable iommu for the mock device") >

[Intel-gfx] [PATCH] drm/i915/selftests: Only touch archdata.iommu when it exists

2017-09-18 Thread Chris Wilson
archdata.iommu only exists when CONFIG_IOMMU_API is enabled (and only applies to intel-iommu in our case) so conditionally compile it when it doesn't exist. Fixes: b5891fb520f7 ("drm/i915/selftests: Disable iommu for the mock device") Signed-off-by: Chris Wilson Cc: Matthew Auld --- drivers/gpu