]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6775b5d3913df0d1ad16904e63d6f9ebdf30bc61
tree6c89470b48d7a6b02a02353ddfd800e7240b519f
parent0f341fe6765581709f7b4727af06dbf1d179fc83
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