[Intel-gfx] [PATCH] drm/i915/skl: power on DP AUX well when getting CRTC power domains

Jesse Barnes jbarnes at virtuousgeek.org
Wed Mar 4 14:58:47 PST 2015


On 03/04/2015 02:40 PM, Jesse Barnes wrote:
> I need this on my machine or eDP doesn't come up.
> 
> Signed-off-by: Jesse Barnes <jbarnes at virtuousgeek.org>
> ---
>  drivers/gpu/drm/i915/intel_display.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 480dd79..741a454 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -4868,8 +4868,10 @@ static unsigned long get_crtc_power_domains(struct drm_crtc *crtc)
>  	    intel_crtc->config->pch_pfit.force_thru)
>  		mask |= BIT(POWER_DOMAIN_PIPE_PANEL_FITTER(pipe));
>  
> -	for_each_encoder_on_crtc(dev, crtc, intel_encoder)
> +	for_each_encoder_on_crtc(dev, crtc, intel_encoder) {
> +		mask |= BIT(intel_display_aux_power_domain(intel_encoder));
>  		mask |= BIT(intel_display_port_power_domain(intel_encoder));
> +	}
>  
>  	return mask;
>  }
> 

Oops, ignore this one, against an old tree.


More information about the Intel-gfx mailing list