Re: [Intel-gfx] [PATCH 4/4] drm/i915/pmu: Fix building without CONFIG_PM

2018-02-13 Thread Rodrigo Vivi
On Tue, Feb 13, 2018 at 09:57:47AM +, Tvrtko Ursulin wrote: > From: Chris Wilson > > As we peek inside struct device to query members guarded by CONFIG_PM, > so must be the code. > > Reported-by: kbuild test robot > Fixes: 1fe699e30113 ("drm/i915/pmu: Fix sleep under atomic in RC6 readout"

[Intel-gfx] [PATCH 4/4] drm/i915/pmu: Fix building without CONFIG_PM

2018-02-13 Thread Tvrtko Ursulin
From: Chris Wilson As we peek inside struct device to query members guarded by CONFIG_PM, so must be the code. Reported-by: kbuild test robot Fixes: 1fe699e30113 ("drm/i915/pmu: Fix sleep under atomic in RC6 readout") Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Reviewed-by: Tvrtko Ursulin

[Intel-gfx] [PATCH 4/4] drm/i915/pmu: Fix building without CONFIG_PM

2018-02-13 Thread Tvrtko Ursulin
From: Chris Wilson As we peek inside struct device to query members guarded by CONFIG_PM, so must be the code. Reported-by: kbuild test robot Fixes: 1fe699e30113 ("drm/i915/pmu: Fix sleep under atomic in RC6 readout") Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Reviewed-by: Tvrtko Ursulin