Re: [PATCH 06/12] drm/i915: convert fsb_freq and mem_freq to kHz

2024-06-05 Thread Jani Nikula
On Wed, 05 Jun 2024, Ville Syrjälä wrote: > On Tue, May 28, 2024 at 05:24:55PM +0300, Jani Nikula wrote: >> We'll want to use fsb frequency for deriving GT clock and rawclk >> frequencies in the future. Increase the accuracy by converting to >> kHz. Do the same for mem freq to be aligned. > > mem_

Re: [PATCH 06/12] drm/i915: convert fsb_freq and mem_freq to kHz

2024-06-05 Thread Ville Syrjälä
On Tue, May 28, 2024 at 05:24:55PM +0300, Jani Nikula wrote: > We'll want to use fsb frequency for deriving GT clock and rawclk > frequencies in the future. Increase the accuracy by converting to > kHz. Do the same for mem freq to be aligned. mem_freq is used in: - gen5_rps_init() -> needs to be a

Re: [PATCH 06/12] drm/i915: convert fsb_freq and mem_freq to kHz

2024-05-30 Thread Jani Nikula
On Wed, 29 May 2024, Matt Roper wrote: > On Tue, May 28, 2024 at 05:24:55PM +0300, Jani Nikula wrote: >> We'll want to use fsb frequency for deriving GT clock and rawclk >> frequencies in the future. Increase the accuracy by converting to >> kHz. Do the same for mem freq to be aligned. >> >> Roun

Re: [PATCH 06/12] drm/i915: convert fsb_freq and mem_freq to kHz

2024-05-29 Thread Matt Roper
On Tue, May 28, 2024 at 05:24:55PM +0300, Jani Nikula wrote: > We'll want to use fsb frequency for deriving GT clock and rawclk > frequencies in the future. Increase the accuracy by converting to > kHz. Do the same for mem freq to be aligned. > > Round the frequencies ending in 666 to 667. > > Si

[PATCH 06/12] drm/i915: convert fsb_freq and mem_freq to kHz

2024-05-28 Thread Jani Nikula
We'll want to use fsb frequency for deriving GT clock and rawclk frequencies in the future. Increase the accuracy by converting to kHz. Do the same for mem freq to be aligned. Round the frequencies ending in 666 to 667. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/i9xx_wm.c | 6