i965/glk: Add l3 banks count for 2x6 configuration
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 21 May 2018 22:21:56 +0000 (15:21 -0700)
committerMark Janes <mark.a.janes@intel.com>
Mon, 21 May 2018 23:43:26 +0000 (16:43 -0700)
2x6 configuration with pci-id 0x3185 has same number of
banks (2) as 3x6 configuration (pci-id 0x3184).

Reported-by: Clayton Craft <clayton.a.craft@intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Tested-by: Clayton Craft <clayton.a.craft@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: eb23be1d97da "i965: Add and initialize l3_banks field for gen7+"
Cc: Francisco Jerez <currojerez@riseup.net>
src/intel/dev/gen_device_info.c

index 653cece6d70761f1cac5decef1d1853262e6c3f1..8e971329892d4b825b9d3b69b4c35f39daa54026 100644 (file)
@@ -732,10 +732,10 @@ static const struct gen_device_info gen_device_info_glk = {
    .l3_banks = 2,
 };
 
-/*TODO: Initialize l3_banks when we know the number. */
 static const struct gen_device_info gen_device_info_glk_2x6 = {
    GEN9_LP_FEATURES_2X6,
    .is_geminilake = true,
+   .l3_banks = 2,
 };
 
 static const struct gen_device_info gen_device_info_cfl_gt1 = {