File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 52
52
53
53
#define LNL_MERT_FREQ_CAP 800
54
54
#define BMG_MERT_FREQ_CAP 2133
55
+ #define BMG_MIN_FREQ 1200
55
56
56
57
#define SLPC_RESET_TIMEOUT_MS 5 /* roughly 5ms, but no need for precision */
57
58
#define SLPC_RESET_EXTENDED_TIMEOUT_MS 1000 /* To be used only at pc_start */
@@ -832,6 +833,7 @@ void xe_guc_pc_init_early(struct xe_guc_pc *pc)
832
833
833
834
static int pc_adjust_freq_bounds (struct xe_guc_pc * pc )
834
835
{
836
+ struct xe_tile * tile = gt_to_tile (pc_to_gt (pc ));
835
837
int ret ;
836
838
837
839
lockdep_assert_held (& pc -> freq_lock );
@@ -858,6 +860,9 @@ static int pc_adjust_freq_bounds(struct xe_guc_pc *pc)
858
860
if (pc_get_min_freq (pc ) > pc -> rp0_freq )
859
861
ret = pc_set_min_freq (pc , pc -> rp0_freq );
860
862
863
+ if (XE_WA (tile -> primary_gt , 14022085890 ))
864
+ ret = pc_set_min_freq (pc , max (BMG_MIN_FREQ , pc_get_min_freq (pc )));
865
+
861
866
out :
862
867
return ret ;
863
868
}
Original file line number Diff line number Diff line change @@ -59,3 +59,7 @@ no_media_l3 MEDIA_VERSION(3000)
59
59
MEDIA_VERSION_RANGE(1301, 3000)
60
60
16026508708 GRAPHICS_VERSION_RANGE(1200, 3001)
61
61
MEDIA_VERSION_RANGE(1300, 3000)
62
+
63
+ # SoC workaround - currently applies to all platforms with the following
64
+ # primary GT GMDID
65
+ 14022085890 GRAPHICS_VERSION(2001)
You can’t perform that action at this time.
0 commit comments