Bug 106598

Summary: [glk] devinfo->l3_banks not initialized for some GLK gpus
Product: Mesa Reporter: Clayton Craft <clayton.a.craft>
Component: Drivers/DRI/i965Assignee: Anuj Phogat <anuj.phogat>
Status: RESOLVED FIXED QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Clayton Craft 2018-05-21 22:02:09 UTC
devinfo->l3_banks is not initialized for GLK gpus with PCI device ID 3185. This causes deqp, cts, and piglit tests to fail:

shader_runner: ../src/intel/common/gen_l3_config.c:314: get_l3_way_size: Assertion `devinfo->l3_banks' failed.
Comment 1 Matt Turner 2018-05-24 16:47:22 UTC
commit 0748383a6014886ef0bf7bda16fd0efef39c405d
Author: Anuj Phogat <anuj.phogat@gmail.com>
Date:   Mon May 21 15:21:56 2018 -0700

    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 <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>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.