summaryrefslogtreecommitdiff
path: root/lib/intel_bufops.c
diff options
context:
space:
mode:
authorMatthew Auld <matthew.auld@intel.com>2022-06-27 17:10:03 +0100
committerMatthew Auld <matthew.auld@intel.com>2022-06-28 15:43:10 +0100
commitfc6274b0081cd9cc42ea30c8b3bfc933944a55ed (patch)
tree0474daac4dc71ba640aad2a2953cb3f3a9ca8358 /lib/intel_bufops.c
parentd6d1ac4b3d936f850aa63373d7ae05ebf7254f81 (diff)
tests/i915/kms_mmap_write_crc: handle missing gem_get_caching()
The kernel is meant to force the caching level for the object to CACHE_NONE or CACHE_WT when first scanning out the object, since the display engine is not coherent (assuming userspace hasn't already done this). On discrete we no longer support set/get_caching, but we can only do the scanout from lmem, which can only be mapped as WC and so should always be coherent for scanout. Adjust the test and ensure it still passes as expected. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5303 Signed-off-by: Matthew Auld <matthew.auld@intel.com> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com> Reviewed-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Diffstat (limited to 'lib/intel_bufops.c')
0 files changed, 0 insertions, 0 deletions