|
21 | 21 | #include "intel_rc6.h" |
22 | 22 | #include "intel_rps.h" |
23 | 23 | #include "intel_wakeref.h" |
24 | | -#include "intel_pcode.h" |
25 | 24 | #include "pxp/intel_pxp_pm.h" |
26 | 25 |
|
27 | 26 | #define I915_GT_SUSPEND_IDLE_TIMEOUT (HZ / 2) |
28 | 27 |
|
29 | | -static void mtl_media_busy(struct intel_gt *gt) |
30 | | -{ |
31 | | - /* Wa_14017073508: mtl */ |
32 | | - if (IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0) && |
33 | | - gt->type == GT_MEDIA) |
34 | | - snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, |
35 | | - PCODE_MBOX_GT_STATE_MEDIA_BUSY, |
36 | | - PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0); |
37 | | -} |
38 | | - |
39 | | -static void mtl_media_idle(struct intel_gt *gt) |
40 | | -{ |
41 | | - /* Wa_14017073508: mtl */ |
42 | | - if (IS_MTL_GRAPHICS_STEP(gt->i915, P, STEP_A0, STEP_B0) && |
43 | | - gt->type == GT_MEDIA) |
44 | | - snb_pcode_write_p(gt->uncore, PCODE_MBOX_GT_STATE, |
45 | | - PCODE_MBOX_GT_STATE_MEDIA_NOT_BUSY, |
46 | | - PCODE_MBOX_GT_STATE_DOMAIN_MEDIA, 0); |
47 | | -} |
48 | | - |
49 | 28 | static void user_forcewake(struct intel_gt *gt, bool suspend) |
50 | 29 | { |
51 | 30 | int count = atomic_read(>->user_wakeref); |
@@ -93,9 +72,6 @@ static int __gt_unpark(struct intel_wakeref *wf) |
93 | 72 |
|
94 | 73 | GT_TRACE(gt, "\n"); |
95 | 74 |
|
96 | | - /* Wa_14017073508: mtl */ |
97 | | - mtl_media_busy(gt); |
98 | | - |
99 | 75 | /* |
100 | 76 | * It seems that the DMC likes to transition between the DC states a lot |
101 | 77 | * when there are no connected displays (no active power domains) during |
@@ -145,9 +121,6 @@ static int __gt_park(struct intel_wakeref *wf) |
145 | 121 | GEM_BUG_ON(!wakeref); |
146 | 122 | intel_display_power_put_async(i915, POWER_DOMAIN_GT_IRQ, wakeref); |
147 | 123 |
|
148 | | - /* Wa_14017073508: mtl */ |
149 | | - mtl_media_idle(gt); |
150 | | - |
151 | 124 | return 0; |
152 | 125 | } |
153 | 126 |
|
|
0 commit comments