i965: Add a variable for way size per bank in get_l3_way_size()
authorAnuj Phogat <anuj.phogat@gmail.com>
Sat, 10 Jun 2017 22:48:21 +0000 (15:48 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Tue, 20 Jun 2017 19:18:26 +0000 (12:18 -0700)
commit1024dad4d936b6a618e58522071c37a0989832f1
tree3e5d75b06960e2ee7f06b722874dfd354fc98ec6
parent8521559e086a3d56f549962ab8e9f45a6a5989d8
i965: Add a variable for way size per bank in get_l3_way_size()

Adding this variable better explains the computation of L3 way
size in the function.

V2: Use const variable for way_size_per_bank.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/intel/common/gen_l3_config.c