mesa/src
Paulo Zanoni 3db8931d4a intel/i915: restrict the RAM size restrictions to Anv
Before commit b571ae6e7a ("intel: Make memory heaps consistent
between KMDs"), we had the following policy for reporting Sytem RAM
memory sizes:

- For OpenGL, we reported the total available RAM.
- For Vulkan, we reported the total available RAM as:
  - 50% of the total RAM if the total RAM was <= 4GB,
  - 75% otherwise
  - In addition, the Memory Budget (for VK_EXT_memory_budget) is 90%
    of the "free" memory, which can be an extra 10% off of the 50% or
    75%.

When xe.ko was added, one key difference was noted: while i915.ko
reported the "real" RAM memory sizes in its ioctls, xe.ko reported
only 50% of the system RAM as available. Because of that (and other
reasons, see this discussion on MR 28513), commit b571ae6e7a decided
to unify the behavior by changing the Anv i915.ko rule to "always 50%"
instead of "50% or 75%". This also changed the Iris rule to 50%
instead of 100%.

In my research, I couldn't find any reason why this restriction should
also apply to Iris, so here we revert back to handling these size
restrictions on Anv only.

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28513>
2025-04-09 22:48:18 +00:00
..
amd radv/ci: Test FP16 for GFX8 2025-04-09 14:21:37 +00:00
android_stub
asahi asahi: remove unstable uapi header 2025-04-09 20:25:50 +00:00
broadcom asahi: port to stable uAPI 2025-04-09 20:25:49 +00:00
c11 c11: use SPDX-License-Identifier header 2025-01-08 20:37:51 +00:00
compiler spirv: Take a separate data_type when creating a new vtn_variable 2025-04-09 16:33:03 +00:00
drm-shim
egl meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
etnaviv etnaviv: Add multi-planar YUV support 2025-03-31 17:41:04 +00:00
freedreno perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
gallium panfrost: add core mask driconf options 2025-04-09 21:09:20 +00:00
gbm meson: support building with system libgbm 2025-04-09 12:15:33 +00:00
getopt
gfxstream gfxstream: update code generator for simplified dep graph 2025-04-09 18:29:57 +00:00
glx glx: stop exporting EXT_texture_object functions from libGLX_mesa.so 2025-03-27 05:46:35 +00:00
gtest
imagination treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
imgui
intel intel/i915: restrict the RAM size restrictions to Anv 2025-04-09 22:48:18 +00:00
loader loader: Stop looking in ${libdir}/tls/ 2025-03-13 19:45:45 +00:00
mapi glapi: import noop_array and public stubs earlier. 2025-04-04 00:18:28 +00:00
mesa st/mesa: don't do nir_remove_dead_variables on in/out twice 2025-04-06 16:15:53 -04:00
microsoft ci/microsoft: Add job timeouts and pin Piglit to GSt 2025-04-01 12:21:01 +00:00
nouveau nvk: update nvidia class header files. 2025-04-09 22:03:18 +00:00
panfrost panvk: add core mask driconf options 2025-04-09 21:09:20 +00:00
tool perfetto/android: align datasource names with tooling expectations 2025-04-08 18:29:10 +00:00
util panvk: add core mask driconf options 2025-04-09 21:09:20 +00:00
virtio virtio/vdrm: Add vtest backend 2025-04-08 15:38:39 +00:00
vulkan vk/meta: generalize 3D blit code 2025-04-08 19:04:47 +00:00
x11 glx/egl/x11: fix x11_dri3_check_multibuffer 2025-02-17 02:50:15 +00:00
.clang-format freedreno: move ForEachMacros into freedreno 2025-01-24 12:15:31 +00:00
meson.build meson: support building with system libgbm 2025-04-09 12:15:33 +00:00