mesa/src
Kenneth Graunke 539494e767 iris: Add a flags argument to iris_bo_alloc()
Based on a patch by Rafael Antognolli.

We already had a flags parameter, but omitted it from the simple alloc
interface because most callers were passing 0.  However, we'll want to
use it for selecting between device local memory and system memory, and
possibly mmap cacheability modes, in the future.  At that point, many
more callers will want to specify, so I think we should include flags
in iris_bo_alloc() as well.

A few places used the iris_bo_alloc_tiled() function simply to pass
flags, so this patch converts them to use iris_bo_alloc() instead now
it does everything they want.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11169>
2021-06-07 10:35:25 -07:00
..
amd aco/scheduler: Move cursor handling state to dedicated interfaces 2021-06-07 12:09:39 +02:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
asahi agx: Handle load_back_face_agx 2021-06-05 20:38:22 +00:00
broadcom v3dv: fix incorrect render area setup 2021-06-07 11:25:22 +00:00
compiler nir: Add nir_intrinsic_load_back_face_agx 2021-06-05 20:38:22 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl meson: egl: Do not build platform_drm for Android 2021-06-07 16:04:15 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno freedreno/regs: split old/not used phy registers to separate DB 2021-06-05 19:20:50 +00:00
gallium iris: Add a flags argument to iris_bo_alloc() 2021-06-07 10:35:25 -07:00
gbm gbm: list to stderr all the missing extension 2021-05-24 16:17:47 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: create DRI screen for display GPU incase of prime 2021-06-03 09:12:32 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/fs/ra: Fix payload node setup for SIMD16 on Gen4-5 2021-06-07 16:52:19 +00:00
loader loader: allocate VRAM in display GPU in case of prime 2021-06-03 09:12:32 +00:00
mapi util: Add a helper macro for defining initial-exec variables. 2021-06-02 03:10:49 +00:00
mesa st/pbo: use correct type for images and textures 2021-06-07 12:13:32 +00:00
microsoft microsoft/compiler: Maintain sorting of resource type in the context 2021-04-29 23:55:02 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Elucidate thread group split field 2021-06-01 19:10:28 +00:00
tool pps: Intel pps driver 2021-05-18 14:28:48 +00:00
util util/ra: Use the conflicting neighbor to skip unavailable registers. 2021-06-04 19:08:57 +00:00
virtio venus: unify VkNativeBufferANDROID and AHardwareBuffer image create info 2021-06-05 22:50:23 +00:00
vulkan vulkan/util: add vk_default_allocator 2021-06-03 08:13:26 +00:00
meson.build freedreno: Add freedreno pps driver 2021-05-10 15:34:07 +00:00