[Intel-gfx] [PATCH] drm/i915/audio: update audio keepalive clock values

Matt Roper matthew.d.roper at intel.com
Fri Mar 17 23:59:18 UTC 2023


On Thu, Mar 16, 2023 at 04:46:54PM -0700, Clint Taylor wrote:
> BSPEC has updated the cdclk audio keepalives AUD_TS_CDCLK_M value to 60
> for all supported platforms and refclks.
> 
> BSPEC: 54034
> BSPEC: 55409
> BSPEC: 65243
> Cc: Kai Vehmanen <kai.vehmanen at linux.intel.com>
> Cc: Uma Shankar <uma.shankar at intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Signed-off-by: Clint Taylor <clinton.a.taylor at intel.com>

Reviewed-by: Matt Roper <matthew.d.roper at intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_audio.c | 6 +-----
>  1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_audio.c b/drivers/gpu/drm/i915/display/intel_audio.c
> index 65151f5dcb15..3d5a9bbc6fde 100644
> --- a/drivers/gpu/drm/i915/display/intel_audio.c
> +++ b/drivers/gpu/drm/i915/display/intel_audio.c
> @@ -983,11 +983,7 @@ void intel_audio_cdclk_change_pre(struct drm_i915_private *i915)
>  
>  static void get_aud_ts_cdclk_m_n(int refclk, int cdclk, struct aud_ts_cdclk_m_n *aud_ts)
>  {
> -	if (refclk == 24000)
> -		aud_ts->m = 12;
> -	else
> -		aud_ts->m = 15;
> -
> +	aud_ts->m = 60;
>  	aud_ts->n = cdclk * aud_ts->m / 24000;
>  }
>  
> -- 
> 2.25.1
> 

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


More information about the Intel-gfx mailing list