[PATCH 5/6] drm/i915: Set max cdclk for display 30.02

Matt Roper matthew.d.roper at intel.com
Tue Jun 3 19:28:09 UTC 2025


On Tue, Jun 03, 2025 at 12:12:34PM -0700, Matt Roper wrote:
> On Tue, Jun 03, 2025 at 11:54:29PM +0530, Dnyaneshwar Bhadane wrote:
> > From: Matt Atwood <matthew.s.atwood at intel.com>
> > 
> > Display version 30.02 has a lower max cdclk rate then 30.00.

Actually one minor typo here in "then."  Aside from that, the r-b
stands.


Matt

> > 
> > Bspec: 68861
> > Signed-off-by: Matt Atwood <matthew.s.atwood at intel.com>
> > Signed-off-by: Dnyaneshwar Bhadane <dnyaneshwar.bhadane at intel.com>
> 
> Reviewed-by: Matt Roper <matthew.d.roper at intel.com>
> 
> > ---
> >  drivers/gpu/drm/i915/display/intel_cdclk.c | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/i915/display/intel_cdclk.c b/drivers/gpu/drm/i915/display/intel_cdclk.c
> > index f0c673e40ce5..4625c9cea4b2 100644
> > --- a/drivers/gpu/drm/i915/display/intel_cdclk.c
> > +++ b/drivers/gpu/drm/i915/display/intel_cdclk.c
> > @@ -3385,7 +3385,9 @@ static int intel_compute_max_dotclk(struct intel_display *display)
> >   */
> >  void intel_update_max_cdclk(struct intel_display *display)
> >  {
> > -	if (DISPLAY_VER(display) >= 30) {
> > +	if (DISPLAY_VERx100(display) >= 3002) {
> > +		display->cdclk.max_cdclk_freq = 480000;
> > +	} else if (DISPLAY_VER(display) >= 30) {
> >  		display->cdclk.max_cdclk_freq = 691200;
> >  	} else if (display->platform.jasperlake || display->platform.elkhartlake) {
> >  		if (display->cdclk.hw.ref == 24000)
> > -- 
> > 2.34.1
> > 
> > 
> 
> -- 
> Matt Roper
> Graphics Software Engineer
> Linux GPU Platform Enablement
> Intel Corporation

-- 
Matt Roper
Graphics Software Engineer
Linux GPU Platform Enablement
Intel Corporation


More information about the Intel-xe mailing list