diff options
author | Jani Nikula <jani.nikula@intel.com> | 2018-12-27 16:33:37 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2018-12-31 15:26:39 +0200 |
commit | 4081cef923e0ac0bb4dbc24da838c91f2ea8d737 (patch) | |
tree | 6322ac05b1597fcb8448506859797a54802dca26 /drivers/gpu/drm/i915/i915_params.h | |
parent | caa5915bb3c1e61bd895383364011a8921fee053 (diff) | |
download | linux-4081cef923e0ac0bb4dbc24da838c91f2ea8d737.tar.gz |
drm/i915: add a helper to make a copy of i915_params
Abstract the one user in anticipation of more.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c6a94b4da8dc723df025b1f602fe46d76d00d53f.1545920737.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_params.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_params.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h index 7e56c516c815..fd1cf9415e60 100644 --- a/drivers/gpu/drm/i915/i915_params.h +++ b/drivers/gpu/drm/i915/i915_params.h @@ -78,6 +78,7 @@ struct i915_params { extern struct i915_params i915_modparams __read_mostly; void i915_params_dump(const struct i915_params *params, struct drm_printer *p); +void i915_params_copy(struct i915_params *dest, const struct i915_params *src); #endif |