Re: [Intel-gfx] [PATCH 02/26] drm/i915: Do .crtc_compute_clock() earlier

2022-05-16 Thread Jani Nikula
On Tue, 03 May 2022, Ville Syrjala wrote: > From: Ville Syrjälä > > Currently we calculate a lot of things (pixel rate, watermarks, > cdclk) trusting that the DPLL can generate the exact frequency > we ask it. In practice that is not true and there can be > certain amount of rounding involved. >

[Intel-gfx] [PATCH 02/26] drm/i915: Do .crtc_compute_clock() earlier

2022-05-03 Thread Ville Syrjala
From: Ville Syrjälä Currently we calculate a lot of things (pixel rate, watermarks, cdclk) trusting that the DPLL can generate the exact frequency we ask it. In practice that is not true and there can be certain amount of rounding involved. To allow us to eventually get accurate numbers for all