diff options
author | Anuj Phogat <[email protected]> | 2019-04-02 14:35:34 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2020-06-22 11:41:59 -0700 |
commit | 3daa86675124b6b91c108b52e78d032deae1ef15 (patch) | |
tree | 6aab32088b0826031ca37e58ebe04f3ad4935170 /src/intel/common | |
parent | 633dec7163e83943c6744909d8a4b67aafd2eaa6 (diff) |
intel/l3: Add DG1 L3 configuration
Reworks:
* Jordan: Make DG1 L3 config table empty
Signed-off-by: Anuj Phogat <[email protected]>
Signed-off-by: Jordan Justen <[email protected]>
Acked-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4956>
Diffstat (limited to 'src/intel/common')
-rw-r--r-- | src/intel/common/gen_l3_config.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/intel/common/gen_l3_config.c b/src/intel/common/gen_l3_config.c index 6bfcb6ba7d7..059a1ed7c14 100644 --- a/src/intel/common/gen_l3_config.c +++ b/src/intel/common/gen_l3_config.c @@ -166,6 +166,14 @@ static const struct gen_l3_config tgl_l3_configs[] = { DECLARE_L3_LIST(tgl); /** + * DG1 validated L3 configurations. \sa dg1_l3_configs. + */ +static const struct gen_l3_config dg1_l3_configs[] = { + /* No configurations. L3FullWayAllocationEnable is always set. */ +}; +DECLARE_L3_LIST(dg1); + +/** * Return a zero-terminated array of validated L3 configurations for the * specified device. */ @@ -191,7 +199,10 @@ get_l3_list(const struct gen_device_info *devinfo) return &icl_l3_list; case 12: - return &tgl_l3_list; + if (devinfo->is_dg1) + return &dg1_l3_list; + else + return &tgl_l3_list; default: unreachable("Not implemented"); |