diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-08 15:50:45 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-10-08 16:21:50 +0100 |
commit | d14a701b00706395de33c61866daa3d424d758fc (patch) | |
tree | a1b87010b08422f13c1c7a60026c44d790b12ebf /drivers/gpu/drm/i915/selftests/mock_uncore.h | |
parent | 3de1627851321fc5589b2a49bf52755a60c8276f (diff) | |
download | linux-d14a701b00706395de33c61866daa3d424d758fc.tar.bz2 |
drm/i915/selftests: Assign the intel_runtime_pm pointer for mock_uncore
Couple up our mock_uncore to know about the fake global device and its
runtime powermanagement.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008145045.23157-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/mock_uncore.h')
-rw-r--r-- | drivers/gpu/drm/i915/selftests/mock_uncore.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/selftests/mock_uncore.h b/drivers/gpu/drm/i915/selftests/mock_uncore.h index dacb36b5ffcd..8a2cc553f466 100644 --- a/drivers/gpu/drm/i915/selftests/mock_uncore.h +++ b/drivers/gpu/drm/i915/selftests/mock_uncore.h @@ -25,6 +25,7 @@ #ifndef __MOCK_UNCORE_H #define __MOCK_UNCORE_H -void mock_uncore_init(struct intel_uncore *uncore); +void mock_uncore_init(struct intel_uncore *uncore, + struct drm_i915_private *i915); #endif /* !__MOCK_UNCORE_H */ |