mesa/src/intel
Jason Ekstrand 7a89a0d9ed anv: Use separate MOCS settings for external BOs
On Broadwell and above, we have to use different MOCS settings to allow
the kernel to take over and disable caching when needed for external
buffers.  On Broadwell, this is especially important because the kernel
can't disable eLLC so we have to do it in userspace.  We very badly
don't want to do that on everything so we need separate MOCS for
external and internal BOs.

In order to do this, we add an anv-specific BO flag for "external" and
use that to distinguish between buffers which may be shared with other
processes and/or display and those which are entirely internal.  That,
together with an anv_mocs_for_bo helper lets us choose the right MOCS
settings for each BO use.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99507
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2018-10-03 09:03:03 -05:00
..
blorp intel/isl: Add a unit suffixes to some struct fields and variables 2018-09-26 08:52:26 -05:00
common intel/decoder: fix the possible out of bounds group_iter 2018-09-03 11:14:30 +01:00
compiler intel/fs: Fix a typo in need_matching_subreg_offset 2018-10-02 07:44:25 -05:00
dev intel/icl: Fix URB size for different SKUs 2018-09-21 14:40:04 -07:00
genxml anv/icl: Set Enabled Texel Offset Precision Fix bit 2018-09-21 14:40:04 -07:00
isl intel/isl: Add a unit suffixes to some struct fields and variables 2018-09-26 08:52:26 -05:00
tools intel/tools: fix initial position of window in aubinator viewer 2018-09-12 11:43:21 +03:00
vulkan anv: Use separate MOCS settings for external BOs 2018-10-03 09:03:03 -05:00
Android.blorp.mk intel: android: remove libdrm_intel requirement 2017-03-30 19:07:23 +01:00
Android.common.mk android: link libmesa_intel_common with zlib and expat 2017-08-02 10:30:50 +03:00
Android.compiler.mk android: fix build issues with brw_nir_trig_workarounds.c 2017-10-04 07:39:05 +03:00
Android.dev.mk android: Use local i915_drm.h rather than the system one. 2018-03-23 10:05:02 -07:00
Android.genxml.mk intel/genxml/icl: Generate packing headers 2018-02-15 16:14:55 -08:00
Android.isl.mk intel/isl/icl: Build and use gen11 surface state emit functions 2018-02-15 16:14:55 -08:00
Android.mk intel: Add missing includes for building on Android 2018-03-06 00:14:22 -08:00
Android.vulkan.mk vulkan: Drop vk_android_native_buffer.xml 2018-04-10 19:29:49 -07:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.blorp.am blorp: automake: add TODO to the tarball 2017-02-24 17:37:00 +00:00
Makefile.common.am automake: intel: correctly append to the LIBADD variable 2017-11-08 14:23:57 +00:00
Makefile.compiler.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.dev.am intel: Split gen_device_info out into libintel_dev 2018-03-05 09:47:37 -08:00
Makefile.genxml.am intel: genxml: automake: include gen_bits_header.py in the tarball 2017-04-05 13:16:28 +01:00
Makefile.isl.am intel/isl: Add format conversion code 2018-05-09 11:16:33 -07:00
Makefile.sources intel/compiler: Do image load/store lowering to NIR 2018-08-29 14:04:02 -05:00
Makefile.tools.am intel/tools: new i965_disasm tool 2018-08-29 11:19:55 -07:00
Makefile.vulkan.am intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00
meson.build intel: compiler option msse2 and mstackrealign 2018-09-07 13:45:46 +01:00