Re: [Intel-gfx] [PATCH 10/13] drm/i915/cnl: Unify dvfs level selection.

2017-10-18 Thread Paulo Zanoni
Em Qui, 2017-10-05 às 07:59 -0700, Rodrigo Vivi escreveu: > On Wed, Oct 04, 2017 at 01:20:57PM +, Mika Kahola wrote: > > On Tue, 2017-10-03 at 00:06 -0700, Rodrigo Vivi wrote: > > > When port clock is zero or undefined we base our > > > calculation on cdclk. So, same function can be used > > >

Re: [Intel-gfx] [PATCH 10/13] drm/i915/cnl: Unify dvfs level selection.

2017-10-05 Thread Rodrigo Vivi
On Wed, Oct 04, 2017 at 01:20:57PM +, Mika Kahola wrote: > On Tue, 2017-10-03 at 00:06 -0700, Rodrigo Vivi wrote: > > When port clock is zero or undefined we base our > > calculation on cdclk. So, same function can be used > > for port clock == 0 now that we have the same default "2". > > > >

Re: [Intel-gfx] [PATCH 10/13] drm/i915/cnl: Unify dvfs level selection.

2017-10-04 Thread Mika Kahola
On Tue, 2017-10-03 at 00:06 -0700, Rodrigo Vivi wrote: > When port clock is zero or undefined we base our > calculation on cdclk. So, same function can be used > for port clock == 0 now that we have the same default "2". > > v2: s/get/new: When documenting "get" sounded ambiguous > because we

[Intel-gfx] [PATCH 10/13] drm/i915/cnl: Unify dvfs level selection.

2017-10-03 Thread Rodrigo Vivi
When port clock is zero or undefined we base our calculation on cdclk. So, same function can be used for port clock == 0 now that we have the same default "2". v2: s/get/new: When documenting "get" sounded ambiguous because we could be getting the current level at pcode. Cc: Mika Kahola