Re: [Intel-gfx] [PATCH] drm/i915/ilk: Fix warning when reading emon_status with no output

2018-11-21 Thread Chris Wilson
Quoting Souza, Jose (2018-11-20 22:07:14) > On Mon, 2018-11-19 at 17:05 -0800, Rodrigo Vivi wrote: > > On Mon, Nov 19, 2018 at 03:01:01PM -0800, José Roberto de Souza > > wrote: > > > When there is no output no one will hold a runtime_pm reference > > > causing a warning when trying to read emom_st

Re: [Intel-gfx] [PATCH] drm/i915/ilk: Fix warning when reading emon_status with no output

2018-11-20 Thread Souza, Jose
On Mon, 2018-11-19 at 17:05 -0800, Rodrigo Vivi wrote: > On Mon, Nov 19, 2018 at 03:01:01PM -0800, José Roberto de Souza > wrote: > > When there is no output no one will hold a runtime_pm reference > > causing a warning when trying to read emom_status in debugfs. > > > > [22.756480] [

Re: [Intel-gfx] [PATCH] drm/i915/ilk: Fix warning when reading emon_status with no output

2018-11-19 Thread Rodrigo Vivi
On Mon, Nov 19, 2018 at 03:01:01PM -0800, José Roberto de Souza wrote: > When there is no output no one will hold a runtime_pm reference > causing a warning when trying to read emom_status in debugfs. > > [22.756480] [ cut here ] > [22.756489] RPM wakelock ref not held duri

[Intel-gfx] [PATCH] drm/i915/ilk: Fix warning when reading emon_status with no output

2018-11-19 Thread José Roberto de Souza
When there is no output no one will hold a runtime_pm reference causing a warning when trying to read emom_status in debugfs. [22.756480] [ cut here ] [22.756489] RPM wakelock ref not held during HW access [22.756578] WARNING: CPU: 0 PID: 1058 at drivers/gpu/drm/i915/intel_