]> 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)
commit278fc64b3a1d8ef99338a262923d6302fd480cee
treefeff7349ed63796ed6e728682b9265e88d247a03
parent8130320523a4a492ff5ef3b79c86d6773bda99d8
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