Re: [Intel-gfx] [PATCH] drm/i915/cnl: Simplify dco_fraction calculation.

2017-11-15 Thread Ville Syrjälä
On Wed, Nov 15, 2017 at 10:42:57AM -0800, Rodrigo Vivi wrote: > I confess I never fully understood that previous calculation, > so this is not a "fix". But let's simplify this math > so poor brains like mine can read and make some sense of > it in the future. > > v2: Don't follow the spec since th

[Intel-gfx] [PATCH] drm/i915/cnl: Simplify dco_fraction calculation.

2017-11-15 Thread Rodrigo Vivi
I confess I never fully understood that previous calculation, so this is not a "fix". But let's simplify this math so poor brains like mine can read and make some sense of it in the future. v2: Don't follow the spec since that gives invalid values and it is also confusing. This Ville's ver

Re: [Intel-gfx] [PATCH] drm/i915/cnl: Simplify dco_fraction calculation.

2017-11-15 Thread Ville Syrjälä
On Tue, Nov 14, 2017 at 03:51:26PM -0800, Rodrigo Vivi wrote: > I confess I never fully understood that previous calculation, > so this is not a "fix". But let's simplify this math > so poor brains like mine can read and make some sense of > it in the future. > > v2: Don't follow the spec since th

[Intel-gfx] [PATCH] drm/i915/cnl: Simplify dco_fraction calculation.

2017-11-14 Thread Rodrigo Vivi
I confess I never fully understood that previous calculation, so this is not a "fix". But let's simplify this math so poor brains like mine can read and make some sense of it in the future. v2: Don't follow the spec since that gives invalid values and it is also confusing. This Ville's ver