Re: [Intel-gfx] [PATCH 4/7] drm/i915: Use set_rps to enable RPS

2017-02-20 Thread Chris Wilson
On Mon, Feb 20, 2017 at 04:29:16PM +0200, Mika Kuoppala wrote: > Chris Wilson writes: > > > Defer actual enabling of RPS to the set rps routine, called upon > > enabling and so we only start RPS when all thresholds have been set. > > > > Signed-off-by: Chris Wilson > > Cc: Mika Kuoppala > > Cc:

Re: [Intel-gfx] [PATCH 4/7] drm/i915: Use set_rps to enable RPS

2017-02-20 Thread Mika Kuoppala
Chris Wilson writes: > Defer actual enabling of RPS to the set rps routine, called upon > enabling and so we only start RPS when all thresholds have been set. > > Signed-off-by: Chris Wilson > Cc: Mika Kuoppala > Cc: sta...@vger.kernel.org As discussed in irc, we will need a followup cleanup a

[Intel-gfx] [PATCH 4/7] drm/i915: Use set_rps to enable RPS

2017-02-20 Thread Chris Wilson
Defer actual enabling of RPS to the set rps routine, called upon enabling and so we only start RPS when all thresholds have been set. Signed-off-by: Chris Wilson Cc: Mika Kuoppala Cc: sta...@vger.kernel.org --- drivers/gpu/drm/i915/intel_pm.c | 15 ++- 1 file changed, 10 insertions(