[Intel-gfx] [PATCH] drm/i915: pps_lock moved to encoder to support dual EDP

Jani Nikula jani.nikula at intel.com
Tue Dec 21 06:56:36 UTC 2021


On Mon, 20 Dec 2021, Animesh Manna <animesh.manna at intel.com> 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


More information about the Intel-gfx mailing list