intel/dev: Add display_ver and set adl-p to 13

Ref: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12908
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/12973>
This commit is contained in:
Jordan Justen 2021-09-16 15:39:11 -07:00
parent 039ed2de94
commit c746bf4c5c
2 changed files with 5 additions and 0 deletions

View File

@ -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;

View File

@ -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;