intel/gen12: Add L3 configurations

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Anuj Phogat 2019-01-04 16:04:07 -08:00 committed by Jordan Justen
parent 5a7fe0ae99
commit 414cae0fd6
No known key found for this signature in database
GPG key ID: 37F99F68CAF992EB

View file

@ -146,6 +146,15 @@ static const struct gen_l3_config icl_l3_configs[] = {
{{ 0 }}
};
/**
* TGL validated L3 configurations. \sa tgl_l3_configs.
*/
static const struct gen_l3_config tgl_l3_configs[] = {
/* SLM URB ALL DC RO IS C T */
{{ 0, 32, 88, 0, 0, 0, 0, 0 }},
{{ 0, 16, 104, 0, 0, 0, 0, 0 }},
{{ 0 }}
};
/**
* Return a zero-terminated array of validated L3 configurations for the
@ -170,9 +179,11 @@ get_l3_configs(const struct gen_device_info *devinfo)
return cnl_l3_configs;
case 11:
case 12:
return icl_l3_configs;
case 12:
return tgl_l3_configs;
default:
unreachable("Not implemented");
}