Re: [Intel-gfx] [PATCH 1/2] drm/i915: Avoid setting ring freq on invalid rps freqs

2018-03-23 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2018-03-20 15:17:33) >> Looping through rps frequencies when both min and max are zero >> ends up into an endless loop. This can happen during hardware >> enablement. >> >> Bail out early if rps frequencies are not correctly set yet. >> >> Cc: Chris

Re: [Intel-gfx] [PATCH 1/2] drm/i915: Avoid setting ring freq on invalid rps freqs

2018-03-22 Thread Chris Wilson
Quoting Mika Kuoppala (2018-03-20 15:17:33) > Looping through rps frequencies when both min and max are zero > ends up into an endless loop. This can happen during hardware > enablement. > > Bail out early if rps frequencies are not correctly set yet. > > Cc: Chris Wilson > Signed-off-by: Mika K

[Intel-gfx] [PATCH 1/2] drm/i915: Avoid setting ring freq on invalid rps freqs

2018-03-20 Thread Mika Kuoppala
Looping through rps frequencies when both min and max are zero ends up into an endless loop. This can happen during hardware enablement. Bail out early if rps frequencies are not correctly set yet. Cc: Chris Wilson Signed-off-by: Mika Kuoppala --- drivers/gpu/drm/i915/intel_pm.c | 9 ++---