[Intel-gfx] [PATCH 2/2] drm/i915: Add runtime PM's usage_count in i915_runtime_pm_status

Jani Nikula jani.nikula at linux.intel.com
Wed Jun 10 06:56:34 PDT 2015


On Fri, 05 Jun 2015, Paulo Zanoni <przanoni at gmail.com> wrote:
> 2015-06-04 14:23 GMT-03:00 Damien Lespiau <damien.lespiau at intel.com>:
>> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
>
> For both patches: Reviewed-by: Paulo Zanoni <paulo.r.zanoni at intel.com>

Pushed to drm-intel-next-queued, thanks for the patches and review.

BR,
Jani.

>
>> ---
>>  drivers/gpu/drm/i915/i915_debugfs.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
>> index d8bd4e1..92cf273 100644
>> --- a/drivers/gpu/drm/i915/i915_debugfs.c
>> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
>> @@ -2493,6 +2493,8 @@ static int i915_runtime_pm_status(struct seq_file *m, void *unused)
>>         seq_printf(m, "GPU idle: %s\n", yesno(!dev_priv->mm.busy));
>>         seq_printf(m, "IRQs disabled: %s\n",
>>                    yesno(!intel_irqs_enabled(dev_priv)));
>> +       seq_printf(m, "Usage count: %d\n",
>> +                  atomic_read(&dev->dev->power.usage_count));
>>
>>         return 0;
>>  }
>> --
>> 2.1.0
>>
>> _______________________________________________
>> Intel-gfx mailing list
>> Intel-gfx at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>
>
>
> -- 
> Paulo Zanoni
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Jani Nikula, Intel Open Source Technology Center


More information about the Intel-gfx mailing list