mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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:
parent
039ed2de94
commit
c746bf4c5c
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 = {
|
static const struct intel_device_info intel_device_info_adl_gt2 = {
|
||||||
GFX12_GT_FEATURES(2),
|
GFX12_GT_FEATURES(2),
|
||||||
.is_alderlake = true,
|
.is_alderlake = true,
|
||||||
|
.display_ver = 13,
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GFX12_DG1_SG1_FEATURES \
|
#define GFX12_DG1_SG1_FEATURES \
|
||||||
|
|
@ -1322,6 +1323,9 @@ intel_get_device_info_from_pci_id(int pci_id,
|
||||||
if (devinfo->verx10 == 0)
|
if (devinfo->verx10 == 0)
|
||||||
devinfo->verx10 = devinfo->ver * 10;
|
devinfo->verx10 = devinfo->ver * 10;
|
||||||
|
|
||||||
|
if (devinfo->display_ver == 0)
|
||||||
|
devinfo->display_ver = devinfo->ver;
|
||||||
|
|
||||||
update_cs_workgroup_threads(devinfo);
|
update_cs_workgroup_threads(devinfo);
|
||||||
|
|
||||||
devinfo->chipset_id = pci_id;
|
devinfo->chipset_id = pci_id;
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ struct intel_device_info
|
||||||
/* Driver internal numbers used to differentiate platforms. */
|
/* Driver internal numbers used to differentiate platforms. */
|
||||||
int ver;
|
int ver;
|
||||||
int verx10;
|
int verx10;
|
||||||
|
int display_ver;
|
||||||
int revision;
|
int revision;
|
||||||
int gt;
|
int gt;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue