Currently all module parameters are handled by i915_param.c/h. This is a problem for display parameters when Xe driver is used. Add a mechanism to add parameters specific to the display. This is mainly copied from i915_[debugfs]_params.[ch]. Parameters are not yet moved. This is done by subsequent patches. v2: - Drop unused predefinition (dentry) - Clarify need for empty INTEL_DISPLAY_PARAMS_FOR_EACH in comment Signed-off-by: Jouni Högander <jouni.hogander@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Luca Coelho <luciano.coelho@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20231024124109.384973-2-jouni.hogander@intel.com
13 lines
304 B
C
13 lines
304 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DISPLAY_DEBUGFS_PARAMS__
|
|
#define __INTEL_DISPLAY_DEBUGFS_PARAMS__
|
|
|
|
struct drm_i915_private;
|
|
|
|
void intel_display_debugfs_params(struct drm_i915_private *i915);
|
|
|
|
#endif /* __INTEL_DISPLAY_DEBUGFS_PARAMS__ */
|