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)
122122 if (!xe_gt_is_media_type (gt ))
123123 gtidle -> powergate_enable |= RENDER_POWERGATE_ENABLE ;
124124
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+ }
129131 }
130132
131133 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