mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 05:30:24 +01:00
Xe3 different SKUs can have different max_subslices_per_slice and Xe KMD topology uAPI only provide us the available subslices. Therefore, to correctly calculate the available slices, we need max_subslices_per_slice to match the hardware. This change retrieves this information from hwconfig for Xe3+. This avoids adding all the PTL intel_device_info variants. Additionally, the PTL topology values are currently embargoed and cannot be hard-coded in public source code. This could be simplified if we decide to apply max_slices and max_subslices_per_slice to all platforms that hwconfig is required. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com> Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33328> |
||
|---|---|---|
| .. | ||
| intel_device_info.c | ||
| intel_device_info.h | ||