Skip to content

Commit 406a95d

Browse files
committed
drm/i915: Add missing DC_OFF power domain->well mappings
Add the missing DC_OFF power domain -> DC_OFF power well mappings on all platforms. This didn't cause a problem as the DC_OFF power domain is only used on JSL, where the mapping was already correct. Signed-off-by: Imre Deak <[email protected]> Reviewed-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent ab04edc commit 406a95d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

drivers/gpu/drm/i915/display/intel_display_power_map.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@ I915_DECL_PW_DOMAINS(skl_pwdoms_dc_off,
333333
POWER_DOMAIN_AUX_A,
334334
POWER_DOMAIN_MODESET,
335335
POWER_DOMAIN_GT_IRQ,
336+
POWER_DOMAIN_DC_OFF,
336337
POWER_DOMAIN_INIT);
337338

338339
I915_DECL_PW_DOMAINS(skl_pwdoms_ddi_io_a_e,
@@ -437,6 +438,7 @@ I915_DECL_PW_DOMAINS(bxt_pwdoms_dc_off,
437438
POWER_DOMAIN_GMBUS,
438439
POWER_DOMAIN_MODESET,
439440
POWER_DOMAIN_GT_IRQ,
441+
POWER_DOMAIN_DC_OFF,
440442
POWER_DOMAIN_INIT);
441443

442444
I915_DECL_PW_DOMAINS(bxt_pwdoms_dpio_cmn_a,
@@ -518,6 +520,7 @@ I915_DECL_PW_DOMAINS(glk_pwdoms_dc_off,
518520
POWER_DOMAIN_GMBUS,
519521
POWER_DOMAIN_MODESET,
520522
POWER_DOMAIN_GT_IRQ,
523+
POWER_DOMAIN_DC_OFF,
521524
POWER_DOMAIN_INIT);
522525

523526
I915_DECL_PW_DOMAINS(glk_pwdoms_ddi_io_a, POWER_DOMAIN_PORT_DDI_IO_A);
@@ -858,6 +861,7 @@ I915_DECL_PW_DOMAINS(tgl_pwdoms_dc_off,
858861
POWER_DOMAIN_AUX_B,
859862
POWER_DOMAIN_AUX_C,
860863
POWER_DOMAIN_MODESET,
864+
POWER_DOMAIN_DC_OFF,
861865
POWER_DOMAIN_INIT);
862866

863867
I915_DECL_PW_DOMAINS(tgl_pwdoms_ddi_io_tc1, POWER_DOMAIN_PORT_DDI_IO_TC1);
@@ -1054,6 +1058,7 @@ I915_DECL_PW_DOMAINS(rkl_pwdoms_dc_off,
10541058
POWER_DOMAIN_AUX_A,
10551059
POWER_DOMAIN_AUX_B,
10561060
POWER_DOMAIN_MODESET,
1061+
POWER_DOMAIN_DC_OFF,
10571062
POWER_DOMAIN_INIT);
10581063

10591064
static const struct i915_power_well_desc rkl_power_wells_main[] = {
@@ -1136,6 +1141,7 @@ I915_DECL_PW_DOMAINS(dg1_pwdoms_dc_off,
11361141
POWER_DOMAIN_AUX_A,
11371142
POWER_DOMAIN_AUX_B,
11381143
POWER_DOMAIN_MODESET,
1144+
POWER_DOMAIN_DC_OFF,
11391145
POWER_DOMAIN_INIT);
11401146

11411147
I915_DECL_PW_DOMAINS(dg1_pwdoms_pw_2,
@@ -1300,6 +1306,7 @@ I915_DECL_PW_DOMAINS(xelpd_pwdoms_dc_off,
13001306
POWER_DOMAIN_AUX_A,
13011307
POWER_DOMAIN_AUX_B,
13021308
POWER_DOMAIN_MODESET,
1309+
POWER_DOMAIN_DC_OFF,
13031310
POWER_DOMAIN_INIT);
13041311

13051312
static const struct i915_power_well_desc xelpd_power_wells_main[] = {
@@ -1421,6 +1428,7 @@ I915_DECL_PW_DOMAINS(xelpdp_pwdoms_dc_off,
14211428
POWER_DOMAIN_MODESET,
14221429
POWER_DOMAIN_AUX_A,
14231430
POWER_DOMAIN_AUX_B,
1431+
POWER_DOMAIN_DC_OFF,
14241432
POWER_DOMAIN_INIT);
14251433

14261434
I915_DECL_PW_DOMAINS(xelpdp_pwdoms_aux_tc1,

0 commit comments

Comments
 (0)