drm/i915/selftests: mark up hugepages object with start_cpu_write
authorMatthew Auld <matthew.auld@intel.com>
Mon, 18 Oct 2021 17:45:08 +0000 (18:45 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 20 Oct 2021 15:50:42 +0000 (16:50 +0100)
commitab5d964c001b9efffcbfa4d67a30186b67d79771
tree6c89470b48d7a6b02a02353ddfd800e7240b519f
parent3884d8af9b3fcc0c41f04fbd4131be61101d4a4d
drm/i915/selftests: mark up hugepages object with start_cpu_write

Just like we do for internal objects. Also just use
i915_gem_object_set_cache_coherency() here. No need for over-flushing on
LLC platforms.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211018174508.2137279-9-matthew.auld@intel.com
drivers/gpu/drm/i915/gem/selftests/huge_pages.c