[Intel-gfx] [PATCH] drm/i915: Consolidate cdclk hooks.

2018-10-22 Thread Rodrigo Vivi
We don't need 2 different blocks. Specially with on in ordered older-to-newer and the other one newer-to-older. Let's start always using newer-to-older order when it makes sense. v2: Accept all good suggestions from Ville: - Remove \n since it is under 80 cols now - Use get/set/calc

Re: [Intel-gfx] [PATCH] drm/i915: Consolidate cdclk hooks.

2018-10-19 Thread Ville Syrjälä
On Fri, Oct 19, 2018 at 12:11:53PM -0700, Rodrigo Vivi wrote: > We don't need 2 different blocks. > Specially with on in ordered older-to-newer and the other > one newer-to-older. > > Let's start always using newer-to-older order > when it makes sense. > > Cc: Ville Syrjälä > Signed-off-by:

[Intel-gfx] [PATCH] drm/i915: Consolidate cdclk hooks.

2018-10-19 Thread Rodrigo Vivi
We don't need 2 different blocks. Specially with on in ordered older-to-newer and the other one newer-to-older. Let's start always using newer-to-older order when it makes sense. Cc: Ville Syrjälä Signed-off-by: Rodrigo Vivi --- drivers/gpu/drm/i915/intel_cdclk.c | 91