mesa/src
Francisco Jerez e2ef1c4676 intel/dev: Implement pixel pipe subslice counting for Gen12+.
Unlike Gen11, Gen12 hardware supports up to three pixel pipes per
slice.

Unfortunately the kernel interface is somewhat inconsistent between
Gen11 and Gen12: I915_PARAM_SUBSLICE_MASK returns a mask of enabled
*dual* subslices since TGL, so there is half the number of bits per
pixel pipe in the mask.  This is worked around here so we're able to
calculate the correct size of each pixel pipe, but the result is
returned in dual subslice units, inheriting the inconsistency from the
kernel -- Reason is that as of now all our Gen12 subslice counts
returned by gen_device_info.c are really dual subslice counts, and the
num_eu_per_subslice counts are also scaled accordingly, so it seems
like it would only make the matter worse if I fixed the units of this
field only without also fixing the rest.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8749>
2021-02-23 21:15:06 -08:00
..
amd android: ac/rgp: fix building error 2021-02-23 18:26:42 +00:00
android_stub egl/android: implement image cleanup callback 2020-12-15 06:05:27 +00:00
broadcom ci/v3d: Update expected resuls for piglit 2021-02-23 18:14:51 +00:00
compiler nir/lower_tex: wider usage of nir_tex_instr_src_index(..) 2021-02-23 14:04:30 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/dri2: enable EGL_WL_bind_wayland_display in EGL device platform 2021-01-28 00:30:10 +00:00
etnaviv etnaviv, v3d: Fix valgrind include paths. 2020-12-15 19:39:29 +00:00
freedreno ci: Move the dEQP and traces expectations to the per-driver CI dirs. 2021-02-22 23:02:42 +00:00
gallium zink: ci updates 2021-02-23 23:04:25 -05:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx Adjust dylib compatibility versions to match what was set by mesa-18.3's autotools-based builds 2021-02-22 21:27:19 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/dev: Implement pixel pipe subslice counting for Gen12+. 2021-02-23 21:15:06 -08:00
loader loader: Silence a warning at -Og 2021-02-18 20:59:43 +00:00
mapi glapi: Support "ELF" TLS on Windows 2021-02-23 17:06:48 +00:00
mesa mesa: Move the FXT1 compressor/decompressor to util/ 2021-02-23 20:38:50 +00:00
microsoft nir: add has_txs flag 2021-02-23 14:04:30 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost pan/bi: Do copyprop in linear-time 2021-02-22 19:17:50 +00:00
util mesa: Move the FXT1 compressor/decompressor to util/ 2021-02-23 20:38:50 +00:00
virtio virgl: update headers 2021-02-16 16:09:14 +00:00
vulkan vulkan: Use typed outarray API 2021-02-23 17:18:11 +10:00
meson.build nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00