]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd63967728688c6f187ea00fd64524bb77946fbb6
treefeff7349ed63796ed6e728682b9265e88d247a03
parent4dfc322c8175984cb89aa32efe7a9180d9fdb144
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