On 3/22/2023 2:03 AM, Jacek Lawrynowicz wrote:
Hi,
On 20.03.2023 16:11, Jeffrey Hugo wrote:
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@xxxxxxxxxxx>
Reviewed-by: Carl Vanderlip <quic_carlv@xxxxxxxxxxx>
Reviewed-by: Pranjal Ramajor Asha Kanojiya <quic_pkanojiy@xxxxxxxxxxx>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@xxxxxxxxxxxxxxx>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@xxxxxxxxxxxxxxx>
---
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 07aa77a..26caf43 100644
--- a/drivers/accel/Makefile
+++ b/drivers/accel/Makefile
@@ -2,3 +2,4 @@
obj-y += habanalabs/
obj-y += ivpu/
+obj-$(CONFIG_DRM_ACCEL_QAIC) += qaic/
Use two tabs instead of two spaces here to align with the current version of this file on drm-misc-next.
Will do.
-Jeff