[PATCH v7 2/8] drm/i915/lobf: Add debug print for LOBF

Manna, Animesh animesh.manna at intel.com
Tue Apr 8 07:57:38 UTC 2025



> -----Original Message-----
> From: Hogander, Jouni <jouni.hogander at intel.com>
> Sent: Tuesday, April 8, 2025 1:20 PM
> To: intel-xe at lists.freedesktop.org; Manna, Animesh
> <animesh.manna at intel.com>; intel-gfx at lists.freedesktop.org
> Cc: Nikula, Jani <jani.nikula at intel.com>; B, Jeevan <jeevan.b at intel.com>
> Subject: Re: [PATCH v7 2/8] drm/i915/lobf: Add debug print for LOBF
> 
> On Thu, 2025-04-03 at 14:58 +0530, Animesh Manna wrote:
> > Lobf is enabled part of ALPM configuration and if has_lobf is set to
> > true respective bit for LOBF will be set. Add debug print while
> > setting the bitfield of LOBF.
> 
> I think you should add also debug print about disabling LOBF. How about two
> more printouts alpm enable and alpm disable?

LOBF disable and ALPM disable print is added in patch 4 and patch 8 respectively.
Will add ALPM enable print.

Regards,
Animesh
> 
> BR,
> 
> Jouni Högander
> 
> >
> > Signed-off-by: Animesh Manna <animesh.manna at intel.com>
> > Reviewed-by: Jouni Högander <jouni.hogander at intel.com>
> > ---
> >  drivers/gpu/drm/i915/display/intel_alpm.c | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/i915/display/intel_alpm.c
> > b/drivers/gpu/drm/i915/display/intel_alpm.c
> > index 354510bb437d..5293cbd02988 100644
> > --- a/drivers/gpu/drm/i915/display/intel_alpm.c
> > +++ b/drivers/gpu/drm/i915/display/intel_alpm.c
> > @@ -353,8 +353,10 @@ static void lnl_alpm_configure(struct intel_dp
> > *intel_dp,
> >  			ALPM_CTL_EXTENDED_FAST_WAKE_TIME(intel_dp-
> > >alpm_parameters.fast_wake_lines);
> >  	}
> >
> > -	if (crtc_state->has_lobf)
> > +	if (crtc_state->has_lobf) {
> >  		alpm_ctl |= ALPM_CTL_LOBF_ENABLE;
> > +		drm_dbg_kms(display->drm, "Link off between frames
> > (LOBF) enabled\n");
> > +	}
> >
> >  	alpm_ctl |= ALPM_CTL_ALPM_ENTRY_CHECK(intel_dp-
> > >alpm_parameters.check_entry_lines);
> >



More information about the Intel-gfx mailing list