diff options
author | 2019-06-13 16:21:53 -0700 | |
---|---|---|
committer | 2019-06-14 15:58:33 +0100 | |
commit | 69c663554452e6589144046331d08e597e7f5823 (patch) | |
tree | 7872f015175fa747bed11e52f0e4d23cb74aca0f /drivers/gpu/drm/i915/selftests/mock_gem_device.c | |
parent | drm/i915: move and rename i915_runtime_pm (diff) | |
download | linux-dev-69c663554452e6589144046331d08e597e7f5823.tar.xz linux-dev-69c663554452e6589144046331d08e597e7f5823.zip |
drm/i915: move a few more functions to accept the rpm structure
Focusing on the functions called in few places.
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613232156.34940-6-daniele.ceraolospurio@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/mock_gem_device.c')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/mock_gem_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/mock_gem_device.c b/drivers/gpu/drm/i915/selftests/mock_gem_device.c index 68bae6130729..82f2be6cec5b 100644 --- a/drivers/gpu/drm/i915/selftests/mock_gem_device.c +++ b/drivers/gpu/drm/i915/selftests/mock_gem_device.c @@ -166,7 +166,7 @@ struct drm_i915_private *mock_gem_device(void) i915->drm.pdev = pdev; i915->drm.dev_private = i915; - intel_runtime_pm_init_early(i915); + intel_runtime_pm_init_early(&i915->runtime_pm); /* Using the global GTT may ask questions about KMS users, so prepare */ drm_mode_config_init(&i915->drm); |