[Intel-gfx] [03/12] drm/i915: Add AUX_CH_{H, I} power domain handling
Souza, Jose
jose.souza at intel.com
Tue Sep 8 16:23:56 UTC 2020
On Wed, 2020-07-01 at 00:55 +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <
> ville.syrjala at linux.intel.com
> >
>
> AUX CH H/I need their power domains too.
Reviewed-by: José Roberto de Souza <jose.souza at intel.com>
>
> Signed-off-by: Ville Syrjälä <
> ville.syrjala at linux.intel.com
> >
> ---
> drivers/gpu/drm/i915/display/intel_display.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
> index 665aa4283fb9..87831fd9e1e1 100644
> --- a/drivers/gpu/drm/i915/display/intel_display.c
> +++ b/drivers/gpu/drm/i915/display/intel_display.c
> @@ -7318,6 +7318,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;
> @@ -7349,6 +7353,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;
>
More information about the Intel-gfx
mailing list