projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1000e3
)
drm/xe/mocs: Drop duplicate assignment of uc_index
author
Matt Roper
<matthew.d.roper@intel.com>
Thu, 23 Feb 2023 18:57:37 +0000
(10:57 -0800)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Tue, 19 Dec 2023 23:29:42 +0000
(18:29 -0500)
The DG1 branch needlessly assigns uc_index twice. Drop the second
instance.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mocs.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/xe/xe_mocs.c
b/drivers/gpu/drm/xe/xe_mocs.c
index 65295cd4f4ad3e636c3204af5493d0c448562951..e24d0dbc178efd9966bdfb79e309a1e635922e51 100644
(file)
--- a/
drivers/gpu/drm/xe/xe_mocs.c
+++ b/
drivers/gpu/drm/xe/xe_mocs.c
@@
-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: