mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
intel/isl: Add mocs settings for DG2
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12712>
This commit is contained in:
parent
8cce6281e6
commit
8e735dc72c
1 changed files with 5 additions and 1 deletions
|
|
@ -99,7 +99,11 @@ static void
|
|||
isl_device_setup_mocs(struct isl_device *dev)
|
||||
{
|
||||
if (dev->info->ver >= 12) {
|
||||
if (dev->info->is_dg1) {
|
||||
if (dev->info->is_dg2) {
|
||||
/* L3CC=WB; BSpec: 45101 */
|
||||
dev->mocs.internal = 3 << 1;
|
||||
dev->mocs.external = 3 << 1;
|
||||
} else if (dev->info->is_dg1) {
|
||||
/* L3CC=WB */
|
||||
dev->mocs.internal = 5 << 1;
|
||||
/* Displayables on DG1 are free to cache in L3 since L3 is transient
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue