diff options
author | Imre Deak <imre.deak@intel.com> | 2018-11-02 14:22:00 -0400 |
---|---|---|
committer | Joonas Lahtinen <joonas.lahtinen@linux.intel.com> | 2018-11-12 10:07:12 -0500 |
commit | c4f224076d00ccf30c7bd3561cceaed82628c8ce (patch) | |
tree | 3d2912ba8549f6a26f497805ec38ae6f35c0ea88 | |
parent | 541ff7e96c13cd5d67f6021d233f8e1c3df49278 (diff) |
drm/i915/icl: Fix power well 2 wrt. DC-off toggling order
To enable DC5/6 power well 2 has to be disabled as for previous
platforms, so fix things up.
Bspec: 4234
Fixes: 67ca07e7ac10 ("drm/i915/icl: Add power well support")
Cc: Animesh Manna <animesh.manna@intel.com>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181102182200.17219-1-imre.deak@intel.com
(cherry picked from commit a33e1ece777996ddddb1f23a30f8c66422ed0b68)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
-rw-r--r-- | drivers/gpu/drm/i915/intel_runtime_pm.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c index 0fdabce647ab..0a4990d8843c 100644 --- a/drivers/gpu/drm/i915/intel_runtime_pm.c +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c | |||
@@ -2749,6 +2749,12 @@ static const struct i915_power_well_desc icl_power_wells[] = { | |||
2749 | }, | 2749 | }, |
2750 | }, | 2750 | }, |
2751 | { | 2751 | { |
2752 | .name = "DC off", | ||
2753 | .domains = ICL_DISPLAY_DC_OFF_POWER_DOMAINS, | ||
2754 | .ops = &gen9_dc_off_power_well_ops, | ||
2755 | .id = DISP_PW_ID_NONE, | ||
2756 | }, | ||
2757 | { | ||
2752 | .name = "power well 2", | 2758 | .name = "power well 2", |
2753 | .domains = ICL_PW_2_POWER_DOMAINS, | 2759 | .domains = ICL_PW_2_POWER_DOMAINS, |
2754 | .ops = &hsw_power_well_ops, | 2760 | .ops = &hsw_power_well_ops, |
@@ -2760,12 +2766,6 @@ static const struct i915_power_well_desc icl_power_wells[] = { | |||
2760 | }, | 2766 | }, |
2761 | }, | 2767 | }, |
2762 | { | 2768 | { |
2763 | .name = "DC off", | ||
2764 | .domains = ICL_DISPLAY_DC_OFF_POWER_DOMAINS, | ||
2765 | .ops = &gen9_dc_off_power_well_ops, | ||
2766 | .id = DISP_PW_ID_NONE, | ||
2767 | }, | ||
2768 | { | ||
2769 | .name = "power well 3", | 2769 | .name = "power well 3", |
2770 | .domains = ICL_PW_3_POWER_DOMAINS, | 2770 | .domains = ICL_PW_3_POWER_DOMAINS, |
2771 | .ops = &hsw_power_well_ops, | 2771 | .ops = &hsw_power_well_ops, |