mesa/src/gallium/drivers/iris
Kenneth Graunke 369cd9ae28 iris: Set MOCS on 3DSTATE_CONSTANT_ALL packets that disable all buffers
We'd like to add safeguards against accidental use of MOCS 0 (uncached),
which can have large performance implications.  One case where we missed
setting a non-zero MOCS was in 3DSTATE_CONSTANT_ALL packets which fully
disable all constant buffers.  (If any constant buffer was present, we
would set an actual MOCS value.)

MOCS really shouldn't matter here, as there are no actual constant
buffers to be cached.  That said, it should be harmless to do so, and
we can just assume a generic MOCS for internal buffers.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13480>
2021-10-28 19:45:55 +00:00
..
ci ci/piglit-runner: Merge piglit-driver-*.txt files into driver-*.txt. 2021-10-27 20:54:11 +00:00
driinfo_iris.h iris: add sync_compile option 2021-07-28 17:32:44 +00:00
iris_batch.c iris: also dump bo's imported and exported flags 2021-10-22 16:54:42 +00:00
iris_batch.h iris: Handle multiple BOs backed by the same GEM object in execbuf code 2021-10-01 04:58:26 +00:00
iris_binder.c iris: Rename bo->gtt_offset to bo->address 2021-08-11 08:05:00 +00:00
iris_binder.h
iris_blit.c Revert "iris: add tile cache flush to iris_copy_region" 2021-10-19 18:22:31 +00:00
iris_blorp.c blorp: Add blorp_alloc_general_state 2021-09-30 17:41:33 +00:00
iris_border_color.c iris: Add an alignment parameter to iris_bo_alloc() 2021-06-07 10:35:25 -07:00
iris_bufmgr.c iris: destroy our mutexes a little later 2021-10-27 20:08:51 +00:00
iris_bufmgr.h iris: Suballocate BO using the Gallium pb_slab mechanism 2021-10-01 04:58:26 +00:00
iris_clear.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_context.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_context.h intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_defines.h intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
iris_disk_cache.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_draw.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_fence.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_fence.h iris: signal the syncobj after a failed batch 2021-09-07 19:03:03 +00:00
iris_fine_fence.c iris: syncobjs are now owned by bufmgr instead of screen 2021-09-01 21:48:13 +00:00
iris_fine_fence.h iris: Rename iris_seqno to iris_fine_fence 2020-05-28 12:47:19 -07:00
iris_formats.c intel: Rename gen_device prefix to intel_device 2021-04-20 20:06:33 +00:00
iris_genx_macros.h iris: Rename bo->gtt_offset to bo->address 2021-08-11 08:05:00 +00:00
iris_genx_protos.h iris: Add genX(emit_depth_state_workarounds) 2021-08-20 17:50:35 +00:00
iris_measure.c iris: Add an alignment parameter to iris_bo_alloc() 2021-06-07 10:35:25 -07:00
iris_measure.h gallium: rename pipe_draw_start_count -> pipe_draw_start_count_bias 2021-04-30 03:59:19 +00:00
iris_monitor.c intel/perf: allow metric sets to be loaded with on OA reports 2021-05-18 14:28:48 +00:00
iris_monitor.h iris: remove iris_monitor_config 2020-07-06 21:43:59 +00:00
iris_perf.c iris/bufmgr: Add flag to allocate from local memory. 2021-06-24 16:14:38 +00:00
iris_perf.h intel: Rename gen_perf prefix to intel_perf in source files 2021-04-20 20:06:34 +00:00
iris_performance_query.c intel/perf: allow metric sets to be loaded with on OA reports 2021-05-18 14:28:48 +00:00
iris_pipe.h
iris_pipe_control.c iris: Add missed tile flush flag 2021-10-19 18:22:31 +00:00
iris_program.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_program_cache.c iris: Rename bo->gtt_offset to bo->address 2021-08-11 08:05:00 +00:00
iris_query.c iris: syncobjs are now owned by bufmgr instead of screen 2021-09-01 21:48:13 +00:00
iris_resolve.c iris: Enable atomic operations on compressed surfaces 2021-10-01 22:16:22 +00:00
iris_resource.c iris: Refactor the assignment to possible_usages 2021-10-21 20:21:26 +00:00
iris_resource.h iris: Finish aux import in iris_resource_from_handle 2021-09-16 18:07:23 +00:00
iris_screen.c intel: fix INTEL_DEBUG environment variable on 32-bit systems 2021-10-15 19:55:14 +00:00
iris_screen.h intel: Move subslice_total into devinfo 2021-09-13 13:26:23 -07:00
iris_state.c iris: Set MOCS on 3DSTATE_CONSTANT_ALL packets that disable all buffers 2021-10-28 19:45:55 +00:00
meson.build iris, crocus: add idep_genxml to per_hw target dependencies 2021-08-02 22:27:36 +00:00