Re: [Intel-gfx] [PATCH 11/11] drm/i915: pass dev_priv instead of cstate to skl_compute_transition_wm()

2018-10-18 Thread Ville Syrjälä
On Tue, Oct 16, 2018 at 03:01:33PM -0700, Paulo Zanoni wrote: > Stop passing modeset state structures to functions that should work > only with the skl_wm_params. The only use for cstate there was to > reach dev_priv, so pass it directly. > > Signed-off-by: Paulo Zanoni Reviewed-by: Ville

[Intel-gfx] [PATCH 11/11] drm/i915: pass dev_priv instead of cstate to skl_compute_transition_wm()

2018-10-16 Thread Paulo Zanoni
Stop passing modeset state structures to functions that should work only with the skl_wm_params. The only use for cstate there was to reach dev_priv, so pass it directly. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_pm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-)