mesa/src/gallium/drivers/iris
Kenneth Graunke aefba29cd3 iris: Force device local memory for u_upload_mgr buffers
We try to place persistent/coherent buffers from the application in
system memory, because they want the CPU-GPU coherency.

However, our internal u_upload_mgr buffers are also flagged persistent +
coherent, but we absolutely want most of them in device local memory.

Mark had done this correctly in an earlier patch series, but I made a
mistake when refactoring things during upstreaming, and accidentally
put these in SMEM again.  This fixes that mistake.

Tested-by: Luis Felipe Strano Moraes <luis.strano@intel.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11681>
2021-07-07 13:04:11 -07:00
..
ci Revert "CI: Disable LAVA devices for maintenance" 2021-07-01 06:59:07 +00:00
Android.mk intel: Rename genx keyword to gfxx in build files 2021-04-02 18:33:07 +00:00
Makefile.sources android: iris: implement iris layer of INTEL_MEASURE 2021-02-06 11:06:20 +01:00
driinfo_iris.h driconf: Stop quoting true/false in boolean option definitions. 2020-10-02 23:59:52 +00:00
iris_batch.c iris: Avoid abort() if kernel can't allocate memory 2021-06-17 09:04:17 +00:00
iris_batch.h iris/gfx12: Invalidate ISP at the end of every batch. 2021-04-19 23:50:32 +00:00
iris_binder.c iris: make iris_bind_reserve_3d and Wa_1604061319 only check for dirty render bindings 2021-07-03 23:37:57 -07:00
iris_binder.h
iris_blit.c iris: Check data alignment for copy_mem_mem 2021-05-21 23:13:57 +00:00
iris_blorp.c anv,iris: Port the D16 workaround stalls to BLORP 2021-05-25 20:55:27 +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: Delete unused bo->cache_coherent flag 2021-07-02 19:06:01 +00:00
iris_bufmgr.h iris: Delete unused bo->cache_coherent flag 2021-07-02 19:06:01 +00:00
iris_clear.c intel: Rename gen_device prefix to intel_device 2021-04-20 20:06:33 +00:00
iris_context.c iris: Force device local memory for u_upload_mgr buffers 2021-07-07 13:04:11 -07:00
iris_context.h iris: make iris_bind_reserve_3d and Wa_1604061319 only check for dirty render bindings 2021-07-03 23:37:57 -07: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 iris: Remove context from iris_disk_cache_retrieve 2021-02-11 20:51:18 +00:00
iris_draw.c iris: Use const uploader for draw parameters 2021-05-11 16:03:21 -07:00
iris_fence.c intel: Rename "gen_" prefix used in common code to "intel_" 2021-03-10 22:23:51 +00:00
iris_fence.h
iris_fine_fence.c iris: reduce redundant tile cache flushes 2021-04-15 04:54:40 +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: Add an iris_write_reg macro 2021-03-12 04:17:39 +00:00
iris_genx_protos.h iris: initialize shared screen->vtbl only once 2020-11-16 05:53:20 +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: reduce redundant tile cache flushes 2021-04-15 04:54:40 +00:00
iris_program.c iris: Add support for scratch on XeHP 2021-06-25 00:18:29 +00:00
iris_program_cache.c iris: Force device local memory for u_upload_mgr buffers 2021-07-07 13:04:11 -07:00
iris_query.c intel: Rename gen_device prefix to intel_device 2021-04-20 20:06:33 +00:00
iris_resolve.c iris: Avoid sampling some MCS surfaces with clear 2021-05-14 18:05:32 +00:00
iris_resource.c iris: Force device local memory for u_upload_mgr buffers 2021-07-07 13:04:11 -07:00
iris_resource.h iris: Force device local memory for u_upload_mgr buffers 2021-07-07 13:04:11 -07:00
iris_screen.c iris: Reduce SSBO alignment requirements from 64B to 4B 2021-07-06 19:11:24 +00:00
iris_screen.h gallium: split drawid out of pipe_draw_info and as a separate draw_vbo param 2021-04-30 03:59:19 +00:00
iris_state.c iris: Use isl_surf_get_uncompressed_surf 2021-07-06 19:29:42 +00:00
meson.build intel: Rename {i965, iris, anv, isl}_gen prefix in build files 2021-04-20 20:06:34 +00:00