mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 00:30:13 +01:00
intel: Add device info for DG2
Reworks: * Lionel: simulator_id * Rafael: has_llc * Merged Lionel's "intel/devinfo: store the different kind of DG2" Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Acked-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14524>
This commit is contained in:
parent
cd678c7029
commit
4f9141607f
1 changed files with 25 additions and 0 deletions
|
|
@ -1028,6 +1028,31 @@ static const struct intel_device_info intel_device_info_sg1 = {
|
||||||
GFX12_DG1_SG1_FEATURES,
|
GFX12_DG1_SG1_FEATURES,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define XEHP_FEATURES(_gt, _slices, _l3) \
|
||||||
|
GFX12_FEATURES(_gt, _slices, _l3), \
|
||||||
|
.verx10 = 125, \
|
||||||
|
.has_llc = false, \
|
||||||
|
.has_local_mem = true, \
|
||||||
|
.has_aux_map = false, \
|
||||||
|
.simulator_id = 29, \
|
||||||
|
.cs_prefetch_size = 1024
|
||||||
|
|
||||||
|
#define DG2_FEATURES \
|
||||||
|
/* (Sub)slice info comes from the kernel topology info */ \
|
||||||
|
XEHP_FEATURES(0, 1, 0), \
|
||||||
|
.num_subslices = dual_subslices(1), \
|
||||||
|
.has_lsc = true
|
||||||
|
|
||||||
|
UNUSED static const struct intel_device_info intel_device_info_dg2_g10 = {
|
||||||
|
DG2_FEATURES,
|
||||||
|
.platform = INTEL_PLATFORM_DG2_G10,
|
||||||
|
};
|
||||||
|
|
||||||
|
UNUSED static const struct intel_device_info intel_device_info_dg2_g11 = {
|
||||||
|
DG2_FEATURES,
|
||||||
|
.platform = INTEL_PLATFORM_DG2_G11,
|
||||||
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
reset_masks(struct intel_device_info *devinfo)
|
reset_masks(struct intel_device_info *devinfo)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue