Re: [Intel-gfx] [PATCH v2] drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K

2020-07-03 Thread Jani Nikula
On Thu, 02 Jul 2020, Manasi Navare wrote: > On Thu, Jul 02, 2020 at 12:15:26PM +0300, Stanislav Lisovskiy wrote: >> We still need "Bump up CDCLK" workaround otherwise getting >> underruns - however currently it blocks 8K as CDCLK = Pixel rate, >> in 8K case would require CDCLK to be around 1 Ghz w

Re: [Intel-gfx] [PATCH v2] drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K

2020-07-02 Thread Manasi Navare
On Thu, Jul 02, 2020 at 12:15:26PM +0300, Stanislav Lisovskiy wrote: > We still need "Bump up CDCLK" workaround otherwise getting > underruns - however currently it blocks 8K as CDCLK = Pixel rate, > in 8K case would require CDCLK to be around 1 Ghz which is not > possible. > > v2: - Convert to ex

[Intel-gfx] [PATCH v2] drm/i915: Clamp min_cdclk to max_cdclk_freq to unblock 8K

2020-07-02 Thread Stanislav Lisovskiy
We still need "Bump up CDCLK" workaround otherwise getting underruns - however currently it blocks 8K as CDCLK = Pixel rate, in 8K case would require CDCLK to be around 1 Ghz which is not possible. v2: - Convert to expression(max(min_cdclk, min(pixel_rate, max_cdclk)) (Ville Syrjälä) - U