drm/i915: Add AUX_CH_{H,I} power domain handling
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Jun 2020 21:55:52 +0000 (00:55 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 15 Sep 2020 14:47:21 +0000 (17:47 +0300)
AUX CH H/I need their power domains too.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200630215601.28557-4-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/display/intel_display.c

index 69128f11b1d9b0e8d9a34af9f8d8a8e1eb37c9eb..254fbeec562986efdc5e3844e79d165ef4b4cd1a 100644 (file)
@@ -7361,6 +7361,10 @@ intel_aux_power_domain(struct intel_digital_port *dig_port)
                        return POWER_DOMAIN_AUX_F_TBT;
                case AUX_CH_G:
                        return POWER_DOMAIN_AUX_G_TBT;
+               case AUX_CH_H:
+                       return POWER_DOMAIN_AUX_H_TBT;
+               case AUX_CH_I:
+                       return POWER_DOMAIN_AUX_I_TBT;
                default:
                        MISSING_CASE(dig_port->aux_ch);
                        return POWER_DOMAIN_AUX_C_TBT;
@@ -7392,6 +7396,10 @@ intel_legacy_aux_to_power_domain(enum aux_ch aux_ch)
                return POWER_DOMAIN_AUX_F;
        case AUX_CH_G:
                return POWER_DOMAIN_AUX_G;
+       case AUX_CH_H:
+               return POWER_DOMAIN_AUX_H;
+       case AUX_CH_I:
+               return POWER_DOMAIN_AUX_I;
        default:
                MISSING_CASE(aux_ch);
                return POWER_DOMAIN_AUX_A;