示例来自
modinfo i915 | fgrep parm
force_probe:Force probe the driver for specified devices. See
CONFIG_DRM_I915_FORCE_PROBE for details. (charp)
什么意思 (charp)?真/假或一些数字。或者其他什么?
grep CONFIG_DRM_I915_FORCE_PROBE /boot/config-5.4.0-47-generic
CONFIG_DRM_I915_FORCE_PROBE=""
什么也没对我说。
答案1
描述可以在Linux/驱动程序/GPU/drm/i915/Kconfig:
config DRM_I915_FORCE_PROBE
string "Force probe driver for selected new Intel hardware"
depends on DRM_I915
help
This is the default value for the i915.force_probe module
parameter. Using the module parameter overrides this option.
Force probe the driver for new Intel graphics devices that are
recognized but not properly supported by this kernel version. It is
recommended to upgrade to a kernel version with proper support as soon
as it is available.
Use "" to disable force probe. If in doubt, use this.
Use "<pci-id>[,<pci-id>,...]" to force probe the driver for listed
devices. For example, "4500" or "4500,4571".
Use "*" to force probe the driver for all known devices.
显然它是一个字符串,在这种情况下我假设夏普方法字符指针。