Commit 6c57023e authored by Matt Roper's avatar Matt Roper Committed by Rodrigo Vivi

drm/xe/mocs: Drop duplicate assignment of uc_index

The DG1 branch needlessly assigns uc_index twice.  Drop the second
instance.
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: default avatarRodrigo Vivi <rodrigo.vivi@intel.com>
parent d1000e3f
......@@ -352,7 +352,6 @@ static unsigned int get_mocs_settings(struct xe_device *xe,
info->table = dg1_mocs_desc;
info->uc_index = 1;
info->n_entries = GEN9_NUM_MOCS_ENTRIES;
info->uc_index = 1;
info->unused_entries_index = 5;
break;
case XE_TIGERLAKE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment