Mesa (main): intel/dev: Add INTEL_PLATFORM_DG2_G12
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 12 10:51:40 UTC 2022
Module: Mesa
Branch: main
Commit: 4456209ce54f174bbdb957f0c4c7ca20c94294d8
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4456209ce54f174bbdb957f0c4c7ca20c94294d8
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Mon Nov 8 14:18:49 2021 -0800
intel/dev: Add INTEL_PLATFORM_DG2_G12
Cc: 22.1 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16449>
---
src/intel/dev/intel_device_info.c | 5 +++++
src/intel/dev/intel_device_info.h | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/intel/dev/intel_device_info.c b/src/intel/dev/intel_device_info.c
index 835c11aab6d..b69831f9cbf 100644
--- a/src/intel/dev/intel_device_info.c
+++ b/src/intel/dev/intel_device_info.c
@@ -1082,6 +1082,11 @@ UNUSED static const struct intel_device_info intel_device_info_dg2_g11 = {
.platform = INTEL_PLATFORM_DG2_G11,
};
+UNUSED static const struct intel_device_info intel_device_info_dg2_g12 = {
+ DG2_FEATURES,
+ .platform = INTEL_PLATFORM_DG2_G12,
+};
+
static void
reset_masks(struct intel_device_info *devinfo)
{
diff --git a/src/intel/dev/intel_device_info.h b/src/intel/dev/intel_device_info.h
index 3dc5b4bbeed..0426aa16dc4 100644
--- a/src/intel/dev/intel_device_info.h
+++ b/src/intel/dev/intel_device_info.h
@@ -72,7 +72,8 @@ enum intel_platform {
INTEL_PLATFORM_ADL,
INTEL_PLATFORM_RPL,
INTEL_PLATFORM_GROUP_START(DG2, INTEL_PLATFORM_DG2_G10),
- INTEL_PLATFORM_GROUP_END(DG2, INTEL_PLATFORM_DG2_G11),
+ INTEL_PLATFORM_DG2_G11,
+ INTEL_PLATFORM_GROUP_END(DG2, INTEL_PLATFORM_DG2_G12),
};
#undef INTEL_PLATFORM_GROUP_START
More information about the mesa-commit
mailing list