[Intel-gfx] [PATCH] drm/i915/selftests: Mark the whole mock device as DMA capable

2019-01-07 Thread Chris Wilson
Being a mock device, we suffer no DMA restrictions, so set the coherent mask to 64b. v2: Fix up mock_huge_selftests Signed-off-by: Chris Wilson Reviewed-by: Matthew Auld --- drivers/gpu/drm/i915/selftests/huge_pages.c | 4 drivers/gpu/drm/i915/selftests/mock_gem_device.c | 2 +- 2 fi

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Mark the whole mock device as DMA capable

2019-01-07 Thread Chris Wilson
Quoting Matthew Auld (2019-01-07 18:01:18) > On Mon, 7 Jan 2019 at 16:28, Chris Wilson wrote: > > > > Being a mock device, we suffer no DMA restrictions, so set the coherent > > mask to 64b. > > > > Signed-off-by: Chris Wilson > > Care to get rid of the call in i915_gem_huge_page_mock_selftests?

Re: [Intel-gfx] [PATCH] drm/i915/selftests: Mark the whole mock device as DMA capable

2019-01-07 Thread Matthew Auld
On Mon, 7 Jan 2019 at 16:28, Chris Wilson wrote: > > Being a mock device, we suffer no DMA restrictions, so set the coherent > mask to 64b. > > Signed-off-by: Chris Wilson Care to get rid of the call in i915_gem_huge_page_mock_selftests? Reviewed-by: Matthew Auld __

[Intel-gfx] [PATCH] drm/i915/selftests: Mark the whole mock device as DMA capable

2019-01-07 Thread Chris Wilson
Being a mock device, we suffer no DMA restrictions, so set the coherent mask to 64b. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/selftests/mock_gem_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/selftests/mock_gem_device.c b/drivers/gp