Re: [Intel-gfx] [PATCH] drm/i915/display: program audio CDCLK-TS for keepalives

2021-09-13 Thread Kai Vehmanen
Hi, On Fri, 10 Sep 2021, Jani Nikula wrote: > Nitpick, switching to i915 variable name instead of dev_priv is > preferred for new code throughout. ack, changed. > On Fri, 10 Sep 2021, Kai Vehmanen wrote: > > + if (DISPLAY_VER(dev_priv) >= 13) { > > + tmp = intel_de_read(dev_priv, A

Re: [Intel-gfx] [PATCH] drm/i915/display: program audio CDCLK-TS for keepalives

2021-09-10 Thread Jani Nikula
On Fri, 10 Sep 2021, Kai Vehmanen wrote: > XE_LPD display adds support for display audio codec keepalive feature. > This feature works also when display codec is in D3 state and the audio > link is off (BCLK off). To enable this functionality, display driver > must update the AUD_TS_CDCLK_M/N regi

[Intel-gfx] [PATCH] drm/i915/display: program audio CDCLK-TS for keepalives

2021-09-10 Thread Kai Vehmanen
XE_LPD display adds support for display audio codec keepalive feature. This feature works also when display codec is in D3 state and the audio link is off (BCLK off). To enable this functionality, display driver must update the AUD_TS_CDCLK_M/N registers whenever CDCLK is changed. Actual timestamps