mesa/src/gallium/drivers/iris
Kenneth Graunke 8e0ff0275d iris: Use IRIS_DOMAIN_DEPTH_WRITE for read only depth/stencil.
We were using IRIS_DOMAIN_OTHER_READ for read-only depth/stencil access
in an attempt to avoid unnecessary flushing; IRIS_DOMAIN_DEPTH_WRITE
could indicate read-write access.

However, IRIS_DOMAIN_OTHER_READ is clearly the wrong domain.  Depth and
stencil data is read via the depth cache, while IRIS_DOMAIN_OTHER_READ
currently corresponds to the sampler cache and constant cache together
(although this will change in future patches).

It's unclear whether this hack was useful.  For now, just drop it and
use the correct depth cache domain, even if it's marked as read-write.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15275>
2022-04-13 09:07:35 +00:00
..
ci ci/iris: Disable pixmark-piano trace testing. 2022-04-08 23:32:11 +00:00
driinfo_iris.h iris: enable adaptive sync for IRIS 2022-01-02 18:53:29 +00:00
iris_batch.c iris: Properly tell the decoder about inherited binder addresses 2022-03-29 02:35:54 -07:00
iris_batch.h util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +00:00
iris_binder.c iris: Restore flagging of dirty bindings in binder_realloc 2022-03-11 07:59:18 +00:00
iris_binder.h iris: Use more efficient binding table pointer formats on Icelake+. 2022-03-09 09:18:59 +00:00
iris_blit.c iris: Demote all callers of iris_flush_and_dirty_for_history() to iris_dirty_for_history(). 2022-04-04 10:32:31 -07:00
iris_blorp.c intel: Use 3DSTATE_BINDING_TABLE_POOL_ALLOC exclusively on Gfx11+ 2022-03-09 09:18:59 +00:00
iris_border_color.c iris: have a single border color pool per bufmgr 2022-02-11 01:42:45 +00:00
iris_bufmgr.c util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +00:00
iris_bufmgr.h util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +00:00
iris_clear.c iris: Demote all callers of iris_flush_and_dirty_for_history() to iris_dirty_for_history(). 2022-04-04 10:32:31 -07:00
iris_context.c util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +00:00
iris_context.h util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +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/fs,vec4: Drop uniform compaction and pull constant support 2021-12-10 21:20:47 +00:00
iris_draw.c iris: Rename surface_base_address to binder_address in a few places 2022-03-09 09:18:59 +00:00
iris_fence.c util: Rename pipe_debug_message to util_debug_message 2022-04-01 01:52:43 +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 iris: Explicitly rely on gallium fallbacks for YUV 2022-01-28 00:30:55 +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 intel/compiler: drop shader_info.h from compiler header 2021-12-07 23:59:58 +00: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 iris: Move away from "hw" for some context terminology 2021-12-02 16:31:03 -08: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 brw/compiler: drop mtypes.h from compiler 2021-12-07 23:59:58 +00:00
iris_pipe.h iris: Make a gl_shader_stage -> pipe_shader_stage helper function 2019-04-23 00:24:08 -07:00
iris_pipe_control.c iris: Make an iris_foreach_batch macro that skips unsupported batches 2022-02-04 08:06:12 +00:00
iris_program.c util: Rename pipe_debug_callback to util_debug_callback 2022-04-01 01:52:43 +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: Replace unconditional QBO flush with iris_dirty_for_history(). 2022-04-04 10:32:31 -07:00
iris_resolve.c iris: Use iris_sample_with_depth_aux more often 2022-02-10 04:47:14 +00:00
iris_resource.c iris: Allow userptr on 1D and 2D images 2022-04-06 23:18:21 +00:00
iris_resource.h iris: Remove remaining history flushes. 2022-04-04 10:32:31 -07:00
iris_screen.c util: Rename PIPE_DEBUG_TYPE to UTIL_DEBUG_TYPE 2022-04-01 01:52:43 +00:00
iris_screen.h iris: Rename surface_base_address to binder_address in a few places 2022-03-09 09:18:59 +00:00
iris_state.c iris: Use IRIS_DOMAIN_DEPTH_WRITE for read only depth/stencil. 2022-04-13 09:07:35 +00:00
iris_utrace.c iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00
iris_utrace.h iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00
meson.build iris: utrace/perfetto support 2022-01-14 20:17:44 +00:00