File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,8 @@ static size_t calculate_regset_size(struct xe_gt *gt)
243
243
xa_for_each (& hwe -> reg_sr .xa , sr_idx , sr_entry )
244
244
count ++ ;
245
245
246
+ count += RING_MAX_NONPRIV_SLOTS * XE_NUM_HW_ENGINES ;
247
+
246
248
count += ADS_REGSET_EXTRA_MAX * XE_NUM_HW_ENGINES ;
247
249
248
250
if (XE_WA (gt , 1607983814 ))
@@ -727,6 +729,11 @@ static unsigned int guc_mmio_regset_write(struct xe_guc_ads *ads,
727
729
xa_for_each (& hwe -> reg_sr .xa , idx , entry )
728
730
guc_mmio_regset_write_one (ads , regset_map , entry -> reg , count ++ );
729
731
732
+ for (i = 0 ; i < RING_MAX_NONPRIV_SLOTS ; i ++ )
733
+ guc_mmio_regset_write_one (ads , regset_map ,
734
+ RING_FORCE_TO_NONPRIV (hwe -> mmio_base , i ),
735
+ count ++ );
736
+
730
737
for (e = extra_regs ; e < extra_regs + ARRAY_SIZE (extra_regs ); e ++ ) {
731
738
if (e -> skip )
732
739
continue ;
You can’t perform that action at this time.
0 commit comments