On Mon, 20 Dec 2021, Animesh Manna <[email protected]> wrote:
> @@ -359,7 +359,7 @@ static void intel_pps_get_registers(struct intel_dp 
> *intel_dp,
>                                   struct pps_registers *regs)
>  {
>       struct drm_i915_private *dev_priv = dp_to_i915(intel_dp);
> -     int pps_idx = 0;
> +     int pps_idx = dp_to_dig_port(intel_dp)->base.port;

I thought we get the index to use from VBT, both for PPS and backlight.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Graphics Center

Reply via email to