[RFC PATCH v2 1/3] drivers/accel: define kconfig and register a new major
Randy Dunlap
rdunlap at infradead.org
Wed Nov 2 22:58:14 UTC 2022
On 11/2/22 13:34, Oded Gabbay wrote:
> diff --git a/drivers/accel/Kconfig b/drivers/accel/Kconfig
> new file mode 100644
> index 000000000000..282ea24f90c5
> --- /dev/null
> +++ b/drivers/accel/Kconfig
> @@ -0,0 +1,24 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +#
> +# Compute Acceleration device configuration
> +#
> +# This framework provides support for compute acceleration devices, such
> +# as, but not limited to, Machine-Learning and Deep-Learning acceleration
> +# devices
> +#
> +menuconfig ACCEL
> + tristate "Compute Acceleration Framework"
> + depends on DRM
> + help
> + Framework for device drivers of compute acceleration devices, such
> + as, but not limited to, Machine-Learning and Deep-Learning
> + acceleration devices.
> + If you say Y here, you need to select the module that's right for
> + your acceleration device from the list below.
> + This framework is integrated with the DRM subsystem as compute
> + accelerators and GPUs share a lot in common and can use almost the
> + same infrastructure code.
> + Having said that, acceleration devices will have a different
> + major number than GPUs, and will be exposed to user-space using
> + different device files, called accel/accel* (in /dev, sysfs
> + and debugfs)
Please add a period at the end of the help text.
+ and debugfs).
--
~Randy
More information about the dri-devel
mailing list