File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -122,10 +122,12 @@ void xe_gt_idle_enable_pg(struct xe_gt *gt)
122
122
if (!xe_gt_is_media_type (gt ))
123
123
gtidle -> powergate_enable |= RENDER_POWERGATE_ENABLE ;
124
124
125
- for (i = XE_HW_ENGINE_VCS0 , j = 0 ; i <= XE_HW_ENGINE_VCS7 ; ++ i , ++ j ) {
126
- if ((gt -> info .engine_mask & BIT (i )))
127
- gtidle -> powergate_enable |= (VDN_HCP_POWERGATE_ENABLE (j ) |
128
- VDN_MFXVDENC_POWERGATE_ENABLE (j ));
125
+ if (xe -> info .platform != XE_DG1 ) {
126
+ for (i = XE_HW_ENGINE_VCS0 , j = 0 ; i <= XE_HW_ENGINE_VCS7 ; ++ i , ++ j ) {
127
+ if ((gt -> info .engine_mask & BIT (i )))
128
+ gtidle -> powergate_enable |= (VDN_HCP_POWERGATE_ENABLE (j ) |
129
+ VDN_MFXVDENC_POWERGATE_ENABLE (j ));
130
+ }
129
131
}
130
132
131
133
fw_ref = xe_force_wake_get (gt_to_fw (gt ), XE_FW_GT );
You can’t perform that action at this time.
0 commit comments