-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accel/qaic: Add qaic driver to the build system
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> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Acked-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/1679932497-30277-8-git-send-email-quic_jhugo@quicinc.com
- Loading branch information
Jeffrey Hugo
authored and
Jacek Lawrynowicz
committed
Apr 6, 2023
1 parent
566fc96
commit 759662e
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |