mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
intel/dev: Add display_ver and set adl-p to 13
Cc: mesa-stable
Fixes: e435511b58 ("intel/dev: Add device info for ADL GT2")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12908>
This commit is contained in:
parent
b1fe85e38c
commit
c81acd365e
2 changed files with 5 additions and 0 deletions
|
|
@ -993,6 +993,7 @@ static const struct intel_device_info intel_device_info_adl_gt1 = {
|
|||
static const struct intel_device_info intel_device_info_adl_gt2 = {
|
||||
GFX12_GT_FEATURES(2),
|
||||
.is_alderlake = true,
|
||||
.display_ver = 13,
|
||||
};
|
||||
|
||||
#define GFX12_DG1_SG1_FEATURES \
|
||||
|
|
@ -1322,6 +1323,9 @@ intel_get_device_info_from_pci_id(int pci_id,
|
|||
if (devinfo->verx10 == 0)
|
||||
devinfo->verx10 = devinfo->ver * 10;
|
||||
|
||||
if (devinfo->display_ver == 0)
|
||||
devinfo->display_ver = devinfo->ver;
|
||||
|
||||
update_cs_workgroup_threads(devinfo);
|
||||
|
||||
devinfo->chipset_id = pci_id;
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ struct intel_device_info
|
|||
/* Driver internal numbers used to differentiate platforms. */
|
||||
int ver;
|
||||
int verx10;
|
||||
int display_ver;
|
||||
int revision;
|
||||
int gt;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue