@@ -1717,9 +1717,9 @@ wa_verify(struct intel_gt *gt, const struct i915_wa *wa, u32 cur,
1717
1717
return true;
1718
1718
}
1719
1719
1720
- static void
1721
- wa_list_apply (struct intel_gt * gt , const struct i915_wa_list * wal )
1720
+ static void wa_list_apply (const struct i915_wa_list * wal )
1722
1721
{
1722
+ struct intel_gt * gt = wal -> gt ;
1723
1723
struct intel_uncore * uncore = gt -> uncore ;
1724
1724
enum forcewake_domains fw ;
1725
1725
unsigned long flags ;
@@ -1755,7 +1755,7 @@ wa_list_apply(struct intel_gt *gt, const struct i915_wa_list *wal)
1755
1755
intel_gt_mcr_read_any_fw (gt , wa -> mcr_reg ) :
1756
1756
intel_uncore_read_fw (uncore , wa -> reg );
1757
1757
1758
- wa_verify (wal -> gt , wa , val , wal -> name , "application" );
1758
+ wa_verify (gt , wa , val , wal -> name , "application" );
1759
1759
}
1760
1760
}
1761
1761
@@ -1765,7 +1765,7 @@ wa_list_apply(struct intel_gt *gt, const struct i915_wa_list *wal)
1765
1765
1766
1766
void intel_gt_apply_workarounds (struct intel_gt * gt )
1767
1767
{
1768
- wa_list_apply (gt , & gt -> wa_list );
1768
+ wa_list_apply (& gt -> wa_list );
1769
1769
}
1770
1770
1771
1771
static bool wa_list_verify (struct intel_gt * gt ,
@@ -3025,7 +3025,7 @@ void intel_engine_init_workarounds(struct intel_engine_cs *engine)
3025
3025
3026
3026
void intel_engine_apply_workarounds (struct intel_engine_cs * engine )
3027
3027
{
3028
- wa_list_apply (engine -> gt , & engine -> wa_list );
3028
+ wa_list_apply (& engine -> wa_list );
3029
3029
}
3030
3030
3031
3031
static const struct i915_range mcr_ranges_gen8 [] = {
0 commit comments