summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-05-04 06:02:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-05-04 06:02:05 +0000
commitf7aec79f0e72aaceb27d3776898b34d856078b71 (patch)
tree8ff0a1c789af10b7a4adee8d801ceb52ec9c8f5f /lib
parentdc9ee07521156a7423d6b32442ac4b9687ddc23d (diff)
intel/dev: Add device info for RPL
From Jordan Justen 4e0eca7dc34942759638ab00eb006ba40284a7c in mainline Mesa
Diffstat (limited to 'lib')
-rw-r--r--lib/mesa/include/pci_ids/iris_pci_ids.h7
-rw-r--r--lib/mesa/src/intel/dev/intel_device_info.c7
-rw-r--r--lib/mesa/src/intel/dev/intel_device_info.h1
3 files changed, 15 insertions, 0 deletions
diff --git a/lib/mesa/include/pci_ids/iris_pci_ids.h b/lib/mesa/include/pci_ids/iris_pci_ids.h
index e494171bc..1422c3bb0 100644
--- a/lib/mesa/include/pci_ids/iris_pci_ids.h
+++ b/lib/mesa/include/pci_ids/iris_pci_ids.h
@@ -50,6 +50,13 @@ CHIPSET(0x9AC9, tgl_gt2, "TGL GT2", "Intel(R) UHD Graphics")
CHIPSET(0x9AD9, tgl_gt2, "TGL GT2", "Intel(R) UHD Graphics")
CHIPSET(0x9AF8, tgl_gt2, "TGL GT2", "Intel(R) UHD Graphics")
+CHIPSET(0xa780, rpl, "RPL-S", "Intel(R) Graphics")
+CHIPSET(0xa781, rpl, "RPL-S", "Intel(R) Graphics")
+CHIPSET(0xa782, rpl, "RPL-S", "Intel(R) Graphics")
+CHIPSET(0xa783, rpl, "RPL-S", "Intel(R) Graphics")
+CHIPSET(0xa788, rpl, "RPL-S", "Intel(R) Graphics")
+CHIPSET(0xa789, rpl, "RPL-S", "Intel(R) Graphics")
+
CHIPSET(0x4905, dg1, "DG1", "Intel(R) Graphics")
CHIPSET(0x4906, dg1, "DG1", "Intel(R) Graphics")
CHIPSET(0x4907, sg1, "SG1", "Intel(R) Graphics")
diff --git a/lib/mesa/src/intel/dev/intel_device_info.c b/lib/mesa/src/intel/dev/intel_device_info.c
index e9021a3f6..f987e45fb 100644
--- a/lib/mesa/src/intel/dev/intel_device_info.c
+++ b/lib/mesa/src/intel/dev/intel_device_info.c
@@ -66,6 +66,7 @@ static const struct {
{ "dg1", 0x4905 },
{ "adl", 0x4680 },
{ "sg1", 0x4907 },
+ { "rpl", 0xa780 },
};
/**
@@ -1005,6 +1006,12 @@ static const struct intel_device_info intel_device_info_adl_gt2 = {
.display_ver = 13,
};
+static const struct intel_device_info intel_device_info_rpl = {
+ GFX12_FEATURES(1, 1, 4),
+ .num_subslices = dual_subslices(2),
+ .is_raptorlake = true,
+};
+
#define GFX12_DG1_SG1_FEATURES \
GFX12_GT_FEATURES(2), \
.is_dg1 = true, \
diff --git a/lib/mesa/src/intel/dev/intel_device_info.h b/lib/mesa/src/intel/dev/intel_device_info.h
index 2e3e459d9..a3f8bb4be 100644
--- a/lib/mesa/src/intel/dev/intel_device_info.h
+++ b/lib/mesa/src/intel/dev/intel_device_info.h
@@ -71,6 +71,7 @@ struct intel_device_info
bool is_rocketlake;
bool is_dg1;
bool is_alderlake;
+ bool is_raptorlake;
bool is_dg2;
bool has_hiz_and_separate_stencil;