intel/dev: Add device info for RKL
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 14 Jan 2020 22:36:25 +0000 (14:36 -0800)
committerMarge Bot <eric+marge@anholt.net>
Sat, 9 May 2020 01:39:43 +0000 (01:39 +0000)
Cc: 20.1 <mesa-stable@lists.freedesktop.org>
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/4955>

include/pci_ids/iris_pci_ids.h
src/intel/dev/gen_device_info.c

index a8dee3d..ed79c65 100644 (file)
@@ -1,3 +1,9 @@
+CHIPSET(0x4c8a, rkl_gt1, "RKL GT1", "Intel(R) Graphics")
+CHIPSET(0x4c8b, rkl_gt1, "RKL GT1", "Intel(R) Graphics")
+CHIPSET(0x4c8c, rkl_gt05, "RKL GT0.5", "Intel(R) Graphics")
+CHIPSET(0x4c90, rkl_gt1, "RKL GT1", "Intel(R) Graphics")
+CHIPSET(0x4c9a, rkl_gt1, "RKL GT1", "Intel(R) Graphics")
+
 CHIPSET(0x9A40, tgl_gt2, "TGL GT2", "Intel(R) Xe Graphics")
 CHIPSET(0x9A49, tgl_gt2, "TGL GT2", "Intel(R) Xe Graphics")
 CHIPSET(0x9A59, tgl_gt2, "TGL GT2", "Intel(R) Graphics")
index 0fd8339..9204450 100644 (file)
@@ -61,6 +61,7 @@ static const struct {
    { "ehl", 0x4500 },
    { "jsl", 0x4E71 },
    { "tgl", 0x9a49 },
+   { "rkl", 0x4c8a },
 };
 
 /**
@@ -1053,6 +1054,10 @@ static const struct gen_device_info gen_device_info_ehl_4 = {
 
 #define dual_subslices(args...) { args, }
 
+#define GEN12_GT05_FEATURES                                     \
+   GEN12_FEATURES(1, 1, 4),                                     \
+   .num_subslices = dual_subslices(1)
+
 #define GEN12_GT_FEATURES(_gt)                                  \
    GEN12_FEATURES(1, 1, _gt == 1 ? 4 : 8),                      \
    .num_subslices = dual_subslices(_gt == 1 ? 2 : 6)
@@ -1065,6 +1070,14 @@ static const struct gen_device_info gen_device_info_tgl_gt2 = {
    GEN12_GT_FEATURES(2),
 };
 
+static const struct gen_device_info gen_device_info_rkl_gt05 = {
+   GEN12_GT05_FEATURES,
+};
+
+static const struct gen_device_info gen_device_info_rkl_gt1 = {
+   GEN12_GT_FEATURES(1),
+};
+
 static void
 gen_device_info_set_eu_mask(struct gen_device_info *devinfo,
                             unsigned slice,