From 0748383a6014886ef0bf7bda16fd0efef39c405d Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Mon, 21 May 2018 15:21:56 -0700 Subject: i965/glk: Add l3 banks count for 2x6 configuration 2x6 configuration with pci-id 0x3185 has same number of banks (2) as 3x6 configuration (pci-id 0x3184). Reported-by: Clayton Craft Signed-off-by: Anuj Phogat Tested-by: Clayton Craft Reviewed-by: Lionel Landwerlin Fixes: eb23be1d97da "i965: Add and initialize l3_banks field for gen7+" Cc: Francisco Jerez --- src/intel/dev/gen_device_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel') diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c index 653cece6d70..8e971329892 100644 --- a/src/intel/dev/gen_device_info.c +++ b/src/intel/dev/gen_device_info.c @@ -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 = { -- cgit v1.2.3