drm/i915/selftests: Mark the whole mock device as DMA capable
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 7 Jan 2019 18:18:56 +0000 (18:18 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 7 Jan 2019 22:00:28 +0000 (22:00 +0000)
commitd58f0083d39a17f8e5efbef522f822625956477e
treefeff7349ed63796ed6e728682b9265e88d247a03
parentf6e8aa387171919572d3e7556a58a14862e8bf1c
drm/i915/selftests: Mark the whole mock device as DMA capable

Being a mock device, we suffer no DMA restrictions, so set the coherent
mask to 64b.

v2: Fix up mock_huge_selftests

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109243
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190107181856.23789-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/huge_pages.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c