Re: [Intel-gfx] [PATCH 30/36] drm/i915: Refactor frequency bounds computation

2018-04-10 Thread Chris Wilson
Quoting Sagar Arun Kamble (2018-03-17 15:10:08) > > > On 3/14/2018 3:07 PM, Chris Wilson wrote: > > When choosing the initial frequency in intel_gt_pm_busy() we also need > > to calculate the current min/max bounds. As this calculation is going to > > become more complex with the intersection of

Re: [Intel-gfx] [PATCH 30/36] drm/i915: Refactor frequency bounds computation

2018-03-17 Thread Sagar Arun Kamble
On 3/14/2018 3:07 PM, Chris Wilson wrote: When choosing the initial frequency in intel_gt_pm_busy() we also need to calculate the current min/max bounds. As this calculation is going to become more complex with the intersection of several different limits, refactor it to a common function. The

[Intel-gfx] [PATCH 30/36] drm/i915: Refactor frequency bounds computation

2018-03-14 Thread Chris Wilson
When choosing the initial frequency in intel_gt_pm_busy() we also need to calculate the current min/max bounds. As this calculation is going to become more complex with the intersection of several different limits, refactor it to a common function. The alternative wold be to feed the initial