Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Gupta, Anshuman
>> Cc: intel-gfx@lists.freedesktop.org; Wilson, Chris P > >> ; Vivi, Rodrigo > >> Subject: RE: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children > >> runtime status > >> > >> On Fri, 01 Apr 2022, "Gupta, Anshuman" >

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Jani Nikula
la >> >> Sent: Friday, April 1, 2022 5:31 PM >> >> To: Dixit, Ashutosh ; Gupta, Anshuman >> >> >> >> Cc: intel-gfx@lists.freedesktop.org; Wilson, Chris P >> >> ; Vivi, Rodrigo >> >> Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 ch

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Gupta, Anshuman
>> Cc: intel-gfx@lists.freedesktop.org; Wilson, Chris P > >> ; Vivi, Rodrigo > >> Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children > >> runtime status > >> > >> On Tue, 29 Mar 2022, "Dixit, Ashutosh" wrote: > >>

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Jani Nikula
>> Vivi, Rodrigo >> Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime >> status >> >> On Tue, 29 Mar 2022, "Dixit, Ashutosh" wrote: >> > On Mon, 28 Mar 2022 03:22:27 -0700, Anshuman Gupta wrote: >> >&g

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Gupta, Anshuman
> -Original Message- > From: Jani Nikula > Sent: Friday, April 1, 2022 5:31 PM > To: Dixit, Ashutosh ; Gupta, Anshuman > > Cc: intel-gfx@lists.freedesktop.org; Wilson, Chris P > ; > Vivi, Rodrigo > Subject: Re: [Intel-gfx] [PATCH] drm/i915/debugfs:

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-04-01 Thread Jani Nikula
On Tue, 29 Mar 2022, "Dixit, Ashutosh" wrote: > On Mon, 28 Mar 2022 03:22:27 -0700, Anshuman Gupta wrote: >> >> +#ifdef CONFIG_PM >> +static int i915_runtime_dump_child_status(struct device *dev, void *data) >> +{ >> +struct seq_file *m = data; >> +const char *rpm_status; >> + >> +/* E

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-03-29 Thread Dixit, Ashutosh
On Mon, 28 Mar 2022 03:22:27 -0700, Anshuman Gupta wrote: > > +#ifdef CONFIG_PM > +static int i915_runtime_dump_child_status(struct device *dev, void *data) > +{ > + struct seq_file *m = data; > + const char *rpm_status; > + > + /* Early return if runtime_pm is disabled */ > + if (d

Re: [Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-03-29 Thread Nilawar, Badal
On 28-03-2022 15:52, Anshuman Gupta wrote: i915 doesn't use pm_suspend_ignore_children() which warrants that any runtime active child of i915 will block the runtime suspend of i915. i915_runtime_pm_status only exposes i915 runtime pm usage_count, which is not sufficient to debug in the scenari

[Intel-gfx] [PATCH] drm/i915/debugfs: Dump i915 children runtime status

2022-03-28 Thread Anshuman Gupta
i915 doesn't use pm_suspend_ignore_children() which warrants that any runtime active child of i915 will block the runtime suspend of i915. i915_runtime_pm_status only exposes i915 runtime pm usage_count, which is not sufficient to debug in the scenarios when i915 has zero usage_count but there are