On Tue, Mar 08, 2016 at 09:00:56PM +0200, Jani Nikula wrote:
> The DSI power domain was missing from BXT power well 1 definitions,
> failing to get the power well for DSI transcoders. As pipe A is in the
> same power well as DSI transcoders, the problem should only occur with
> pipes B and C.
> 
> Cc: Ramalingam C <[email protected]>
> Cc: Deepak M <[email protected]>
> Signed-off-by: Jani Nikula <[email protected]>
> 
> ---
> 
> This should superseed [1], but a change will be required in
> haswell_get_pipe_config() or [2] to check the DSI power domain.
> 
> [1] 
> http://patchwork.freedesktop.org/patch/msgid/[email protected]
> [2] 
> http://patchwork.freedesktop.org/patch/msgid/[email protected]
> ---
>  drivers/gpu/drm/i915/intel_runtime_pm.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c 
> b/drivers/gpu/drm/i915/intel_runtime_pm.c
> index 5adf4b337de3..2e88a5e06884 100644
> --- a/drivers/gpu/drm/i915/intel_runtime_pm.c
> +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c
> @@ -421,6 +421,7 @@ static void hsw_set_power_well(struct drm_i915_private 
> *dev_priv,
>       BIT(POWER_DOMAIN_TRANSCODER_EDP) |              \
>       BIT(POWER_DOMAIN_PIPE_A_PANEL_FITTER) |         \
>       BIT(POWER_DOMAIN_PORT_DDI_A_LANES) |            \
> +     BIT(POWER_DOMAIN_PORT_DSI) |                    \

This is basically a nop since pw1 is under dmc control. But given that
we still have this stuff defined here, it's clearly correct to include
DSI here.

Reviewed-by: Ville Syrjälä <[email protected]>

>       BIT(POWER_DOMAIN_AUX_A) |                       \
>       BIT(POWER_DOMAIN_PLLS) |                        \
>       BIT(POWER_DOMAIN_INIT))
> -- 
> 2.1.4

-- 
Ville Syrjälä
Intel OTC
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to