Message ID | 20220325024312.40901-1-chuansheng.liu@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/dg1: remove redundant uc_index assignment | expand |
diff --git a/drivers/gpu/drm/i915/gt/intel_mocs.c b/drivers/gpu/drm/i915/gt/intel_mocs.c index c4c37585ae8c..0c300727a5c2 100644 --- a/drivers/gpu/drm/i915/gt/intel_mocs.c +++ b/drivers/gpu/drm/i915/gt/intel_mocs.c @@ -445,7 +445,6 @@ static unsigned int get_mocs_settings(const struct drm_i915_private *i915, table->table = dg1_mocs_table; table->uc_index = 1; table->n_entries = GEN9_NUM_MOCS_ENTRIES; - table->uc_index = 1; table->unused_entries_index = 5; } else if (IS_TIGERLAKE(i915) || IS_ROCKETLAKE(i915)) { /* For TGL/RKL, Can't be changed now for ABI reasons */
Just clean up the redundant uc_index assignment for DG1. Signed-off-by: Chuansheng Liu <chuansheng.liu@intel.com> --- drivers/gpu/drm/i915/gt/intel_mocs.c | 1 - 1 file changed, 1 deletion(-)