Bug 106598 - [glk] devinfo->l3_banks not initialized for some GLK gpus
Summary: [glk] devinfo->l3_banks not initialized for some GLK gpus
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Anuj Phogat
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-21 22:02 UTC by Clayton Craft
Modified: 2018-05-24 16:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.