From: Jeffrey Hugo <quic_jhugo@quicinc.com> To: <dafna@fastmail.com>, <ogabbay@kernel.org>, <airlied@gmail.com>, <daniel@ffwll.ch>, <jacek.lawrynowicz@linux.intel.com>, <stanislaw.gruszka@linux.intel.com>, <dri-devel@lists.freedesktop.org> Cc: <quic_pkanojiy@quicinc.com>, <quic_carlv@quicinc.com>, <quic_ajitpals@quicinc.com>, <linux-doc@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>, Jeffrey Hugo <quic_jhugo@quicinc.com> Subject: [PATCH v3 7/8] accel/qaic: Add qaic driver to the build system Date: Mon, 6 Mar 2023 14:34:02 -0700 [thread overview] Message-ID: <1678138443-2760-8-git-send-email-quic_jhugo@quicinc.com> (raw) In-Reply-To: <1678138443-2760-1-git-send-email-quic_jhugo@quicinc.com> Now that we have all the components of a minimum QAIC which can boot and run an AIC100 device, add the infrastructure that allows the QAIC driver to be built. Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com> Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com> --- drivers/accel/Kconfig | 1 + drivers/accel/Makefile | 1 + drivers/accel/qaic/Kconfig | 23 +++++++++++++++++++++++ drivers/accel/qaic/Makefile | 13 +++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 drivers/accel/qaic/Kconfig create mode 100644 drivers/accel/qaic/Makefile diff --git a/drivers/accel/Kconfig b/drivers/accel/Kconfig index c437206..64065fb 100644 --- a/drivers/accel/Kconfig +++ b/drivers/accel/Kconfig @@ -26,5 +26,6 @@ menuconfig DRM_ACCEL source "drivers/accel/habanalabs/Kconfig" source "drivers/accel/ivpu/Kconfig" +source "drivers/accel/qaic/Kconfig" endif diff --git a/drivers/accel/Makefile b/drivers/accel/Makefile index f22fd44..ab3df93 100644 --- a/drivers/accel/Makefile +++ b/drivers/accel/Makefile @@ -2,3 +2,4 @@ obj-$(CONFIG_DRM_ACCEL_HABANALABS) += habanalabs/ obj-$(CONFIG_DRM_ACCEL_IVPU) += ivpu/ +obj-$(CONFIG_DRM_ACCEL_QAIC) += qaic/ diff --git a/drivers/accel/qaic/Kconfig b/drivers/accel/qaic/Kconfig new file mode 100644 index 0000000..a9f8662 --- /dev/null +++ b/drivers/accel/qaic/Kconfig @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Qualcomm Cloud AI accelerators driver +# + +config DRM_ACCEL_QAIC + tristate "Qualcomm Cloud AI accelerators" + depends on DRM_ACCEL + depends on PCI && HAS_IOMEM + depends on MHI_BUS + depends on MMU + select CRC32 + help + Enables driver for Qualcomm's Cloud AI accelerator PCIe cards that are + designed to accelerate Deep Learning inference workloads. + + The driver manages the PCIe devices and provides an IOCTL interface + for users to submit workloads to the devices. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called qaic. diff --git a/drivers/accel/qaic/Makefile b/drivers/accel/qaic/Makefile new file mode 100644 index 0000000..d5f4952 --- /dev/null +++ b/drivers/accel/qaic/Makefile @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Qualcomm Cloud AI accelerators driver +# + +obj-$(CONFIG_DRM_ACCEL_QAIC) := qaic.o + +qaic-y := \ + mhi_controller.o \ + mhi_qaic_ctrl.o \ + qaic_control.o \ + qaic_data.o \ + qaic_drv.o -- 2.7.4
WARNING: multiple messages have this Message-ID (diff)
From: Jeffrey Hugo <quic_jhugo@quicinc.com> To: <dafna@fastmail.com>, <ogabbay@kernel.org>, <airlied@gmail.com>, <daniel@ffwll.ch>, <jacek.lawrynowicz@linux.intel.com>, <stanislaw.gruszka@linux.intel.com>, <dri-devel@lists.freedesktop.org> Cc: Jeffrey Hugo <quic_jhugo@quicinc.com>, linux-doc@vger.kernel.org, linux-arm-msm@vger.kernel.org, quic_ajitpals@quicinc.com, quic_pkanojiy@quicinc.com, quic_carlv@quicinc.com Subject: [PATCH v3 7/8] accel/qaic: Add qaic driver to the build system Date: Mon, 6 Mar 2023 14:34:02 -0700 [thread overview] Message-ID: <1678138443-2760-8-git-send-email-quic_jhugo@quicinc.com> (raw) In-Reply-To: <1678138443-2760-1-git-send-email-quic_jhugo@quicinc.com> Now that we have all the components of a minimum QAIC which can boot and run an AIC100 device, add the infrastructure that allows the QAIC driver to be built. Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com> Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@quicinc.com> --- drivers/accel/Kconfig | 1 + drivers/accel/Makefile | 1 + drivers/accel/qaic/Kconfig | 23 +++++++++++++++++++++++ drivers/accel/qaic/Makefile | 13 +++++++++++++ 4 files changed, 38 insertions(+) create mode 100644 drivers/accel/qaic/Kconfig create mode 100644 drivers/accel/qaic/Makefile diff --git a/drivers/accel/Kconfig b/drivers/accel/Kconfig index c437206..64065fb 100644 --- a/drivers/accel/Kconfig +++ b/drivers/accel/Kconfig @@ -26,5 +26,6 @@ menuconfig DRM_ACCEL source "drivers/accel/habanalabs/Kconfig" source "drivers/accel/ivpu/Kconfig" +source "drivers/accel/qaic/Kconfig" endif diff --git a/drivers/accel/Makefile b/drivers/accel/Makefile index f22fd44..ab3df93 100644 --- a/drivers/accel/Makefile +++ b/drivers/accel/Makefile @@ -2,3 +2,4 @@ obj-$(CONFIG_DRM_ACCEL_HABANALABS) += habanalabs/ obj-$(CONFIG_DRM_ACCEL_IVPU) += ivpu/ +obj-$(CONFIG_DRM_ACCEL_QAIC) += qaic/ diff --git a/drivers/accel/qaic/Kconfig b/drivers/accel/qaic/Kconfig new file mode 100644 index 0000000..a9f8662 --- /dev/null +++ b/drivers/accel/qaic/Kconfig @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Qualcomm Cloud AI accelerators driver +# + +config DRM_ACCEL_QAIC + tristate "Qualcomm Cloud AI accelerators" + depends on DRM_ACCEL + depends on PCI && HAS_IOMEM + depends on MHI_BUS + depends on MMU + select CRC32 + help + Enables driver for Qualcomm's Cloud AI accelerator PCIe cards that are + designed to accelerate Deep Learning inference workloads. + + The driver manages the PCIe devices and provides an IOCTL interface + for users to submit workloads to the devices. + + If unsure, say N. + + To compile this driver as a module, choose M here: the + module will be called qaic. diff --git a/drivers/accel/qaic/Makefile b/drivers/accel/qaic/Makefile new file mode 100644 index 0000000..d5f4952 --- /dev/null +++ b/drivers/accel/qaic/Makefile @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Qualcomm Cloud AI accelerators driver +# + +obj-$(CONFIG_DRM_ACCEL_QAIC) := qaic.o + +qaic-y := \ + mhi_controller.o \ + mhi_qaic_ctrl.o \ + qaic_control.o \ + qaic_data.o \ + qaic_drv.o -- 2.7.4
next prev parent reply other threads:[~2023-03-06 21:35 UTC|newest] Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-06 21:33 [PATCH v3 0/8] QAIC accel driver Jeffrey Hugo 2023-03-06 21:33 ` Jeffrey Hugo 2023-03-06 21:33 ` [PATCH v3 1/8] accel/qaic: Add documentation for AIC100 accelerator driver Jeffrey Hugo 2023-03-06 21:33 ` Jeffrey Hugo 2023-03-13 12:47 ` Jacek Lawrynowicz 2023-03-13 12:47 ` Jacek Lawrynowicz 2023-03-06 21:33 ` [PATCH v3 2/8] accel/qaic: Add uapi and core driver file Jeffrey Hugo 2023-03-06 21:33 ` Jeffrey Hugo 2023-03-13 13:21 ` Jacek Lawrynowicz 2023-03-13 13:21 ` Jacek Lawrynowicz 2023-03-13 17:37 ` Jeffrey Hugo 2023-03-13 17:37 ` Jeffrey Hugo 2023-03-14 9:55 ` Jacek Lawrynowicz 2023-03-14 9:55 ` Jacek Lawrynowicz 2023-03-14 15:41 ` Jeffrey Hugo 2023-03-14 15:41 ` Jeffrey Hugo 2023-03-06 21:33 ` [PATCH v3 3/8] accel/qaic: Add MHI controller Jeffrey Hugo 2023-03-06 21:33 ` Jeffrey Hugo 2023-03-13 13:39 ` Jacek Lawrynowicz 2023-03-13 13:39 ` Jacek Lawrynowicz 2023-03-13 17:45 ` Jeffrey Hugo 2023-03-13 17:45 ` Jeffrey Hugo 2023-03-06 21:33 ` [PATCH v3 4/8] accel/qaic: Add control path Jeffrey Hugo 2023-03-06 21:33 ` Jeffrey Hugo 2023-03-14 10:29 ` Jacek Lawrynowicz 2023-03-14 10:29 ` Jacek Lawrynowicz 2023-03-14 17:26 ` Jeffrey Hugo 2023-03-14 17:26 ` Jeffrey Hugo 2023-03-15 21:50 ` Jeffrey Hugo 2023-03-15 21:50 ` Jeffrey Hugo 2023-03-06 21:34 ` [PATCH v3 5/8] accel/qaic: Add datapath Jeffrey Hugo 2023-03-06 21:34 ` Jeffrey Hugo 2023-03-14 10:58 ` Jacek Lawrynowicz 2023-03-14 10:58 ` Jacek Lawrynowicz 2023-03-14 17:48 ` Jeffrey Hugo 2023-03-14 17:48 ` Jeffrey Hugo 2023-03-06 21:34 ` [PATCH v3 6/8] accel/qaic: Add mhi_qaic_cntl Jeffrey Hugo 2023-03-06 21:34 ` Jeffrey Hugo 2023-03-14 12:19 ` Jacek Lawrynowicz 2023-03-14 12:19 ` Jacek Lawrynowicz 2023-03-14 18:26 ` Jeffrey Hugo 2023-03-14 18:26 ` Jeffrey Hugo 2023-03-06 21:34 ` Jeffrey Hugo [this message] 2023-03-06 21:34 ` [PATCH v3 7/8] accel/qaic: Add qaic driver to the build system Jeffrey Hugo 2023-03-13 13:25 ` Jacek Lawrynowicz 2023-03-13 13:25 ` Jacek Lawrynowicz 2023-03-06 21:34 ` [PATCH v3 8/8] MAINTAINERS: Add entry for QAIC driver Jeffrey Hugo 2023-03-06 21:34 ` Jeffrey Hugo 2023-03-14 9:59 ` Jacek Lawrynowicz 2023-03-14 9:59 ` Jacek Lawrynowicz 2023-03-14 16:02 ` Jeffrey Hugo 2023-03-14 16:02 ` Jeffrey Hugo 2023-03-16 17:04 ` Jeffrey Hugo 2023-03-16 17:04 ` Jeffrey Hugo 2023-03-17 14:04 ` Maxime Ripard 2023-03-17 14:04 ` Maxime Ripard 2023-03-17 15:46 ` Jeffrey Hugo 2023-03-17 15:46 ` Jeffrey Hugo 2023-03-20 7:03 ` Oded Gabbay 2023-03-20 7:03 ` Oded Gabbay 2023-03-10 10:02 ` [PATCH v3 0/8] QAIC accel driver Stanislaw Gruszka 2023-03-10 10:02 ` Stanislaw Gruszka
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1678138443-2760-8-git-send-email-quic_jhugo@quicinc.com \ --to=quic_jhugo@quicinc.com \ --cc=airlied@gmail.com \ --cc=dafna@fastmail.com \ --cc=daniel@ffwll.ch \ --cc=dri-devel@lists.freedesktop.org \ --cc=jacek.lawrynowicz@linux.intel.com \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-doc@vger.kernel.org \ --cc=ogabbay@kernel.org \ --cc=quic_ajitpals@quicinc.com \ --cc=quic_carlv@quicinc.com \ --cc=quic_pkanojiy@quicinc.com \ --cc=stanislaw.gruszka@linux.intel.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.