diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-02-13 09:57:47 +0000 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2018-02-13 16:56:06 -0800 |
commit | 4b8b41d15d9db54703958fbd2928a2fd319563f6 (patch) | |
tree | e251a549c90983d781ee314c05aad0d42d2e711b /drivers/gpu/drm/i915/intel_sideband.c | |
parent | 4c83f0a788ccf58864f781585d8ae7c7e6a7e07d (diff) | |
download | op-kernel-dev-4b8b41d15d9db54703958fbd2928a2fd319563f6.zip op-kernel-dev-4b8b41d15d9db54703958fbd2928a2fd319563f6.tar.gz |
drm/i915/pmu: Fix building without CONFIG_PM
As we peek inside struct device to query members guarded by CONFIG_PM,
so must be the code.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 1fe699e30113 ("drm/i915/pmu: Fix sleep under atomic in RC6 readout")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180207160428.17015-1-chris@chris-wilson.co.uk
(cherry picked from commit 05273c950a3c93c5f96be8807eaf24f2cc9f1c1e)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180213095747.2424-4-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sideband.c')
0 files changed, 0 insertions, 0 deletions