Re: [Intel-gfx] [PATCH 03/11] drm/i915: put runtime PM only when we actually release force_wake

2014-03-05 Thread Daniel Vetter
On Fri, Feb 21, 2014 at 12:16:58PM -0800, Jesse Barnes wrote: On Fri, 21 Feb 2014 17:08:50 -0300 Paulo Zanoni przan...@gmail.com wrote: 2014-02-21 14:34 GMT-03:00 Jesse Barnes jbar...@virtuousgeek.org: On Fri, 21 Feb 2014 13:52:20 -0300 Paulo Zanoni przan...@gmail.com wrote:

[Intel-gfx] [PATCH 03/11] drm/i915: put runtime PM only when we actually release force_wake

2014-02-21 Thread Paulo Zanoni
From: Paulo Zanoni paulo.r.zan...@intel.com When we call gen6_gt_force_wake_put we don't actually put force_wake, we just schedule gen6_force_wake_work through mod_delayed_work, and that will eventually release force_wake. The problem is that we call intel_runtime_pm_put directly at

Re: [Intel-gfx] [PATCH 03/11] drm/i915: put runtime PM only when we actually release force_wake

2014-02-21 Thread Jesse Barnes
On Fri, 21 Feb 2014 13:52:20 -0300 Paulo Zanoni przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com When we call gen6_gt_force_wake_put we don't actually put force_wake, we just schedule gen6_force_wake_work through mod_delayed_work, and that will eventually release

Re: [Intel-gfx] [PATCH 03/11] drm/i915: put runtime PM only when we actually release force_wake

2014-02-21 Thread Paulo Zanoni
2014-02-21 14:34 GMT-03:00 Jesse Barnes jbar...@virtuousgeek.org: On Fri, 21 Feb 2014 13:52:20 -0300 Paulo Zanoni przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com When we call gen6_gt_force_wake_put we don't actually put force_wake, we just schedule gen6_force_wake_work