From: Anuj Phogat Date: Mon, 21 May 2018 22:21:56 +0000 (-0700) Subject: i965/glk: Add l3 banks count for 2x6 configuration X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0748383a6014886ef0bf7bda16fd0efef39c405d;p=mesa.git 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 --- 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 = {