mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-06 03:50:26 +01:00
intel/icl: Set way_size_per_bank to 4
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
This commit is contained in:
parent
3ce04da5b4
commit
3f55fd3814
1 changed files with 2 additions and 1 deletions
|
|
@ -309,7 +309,8 @@ static unsigned
|
|||
get_l3_way_size(const struct gen_device_info *devinfo)
|
||||
{
|
||||
const unsigned way_size_per_bank =
|
||||
devinfo->gen >= 9 && devinfo->l3_banks == 1 ? 4 : 2;
|
||||
(devinfo->gen >= 9 && devinfo->l3_banks == 1) || devinfo->gen == 11 ?
|
||||
4 : 2;
|
||||
|
||||
assert(devinfo->l3_banks);
|
||||
return way_size_per_bank * devinfo->l3_banks;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue