Hi, This patchset contains a new Linux* Kernel Driver for Intel® VPUs. VPU stands for Versatile Processing Unit and it is an AI inference accelerator integrated with Intel non-server CPUs starting from 14th generation. VPU enables efficient execution of Deep Learning applications like object detection, classification etc. Driver is part of gpu/drm subsystem because VPU is similar in operation to an integrated GPU. Reusing drm driver init, ioctl handling, gem and prime helpers and drm_mm allows to minimize code duplication in the kernel. The whole driver is licensed under GPL-2.0-only except for two headers imported from the firmware that are MIT licensed. User mode driver stack consists of Level Zero API driver and OpenVINO plugin. Both should be open-sourced by the end of Q3. The firmware for the VPU will be distributed as a closed source binary. Regards, Jacek Jacek Lawrynowicz (7): drm/vpu: Introduce a new DRM driver for Intel VPU drm/vpu: Add Intel VPU MMU support drm/vpu: Add GEM buffer object management drm/vpu: Add IPC driver and JSM messages drm/vpu: Implement firmware parsing and booting drm/vpu: Add command buffer submission logic drm/vpu: Add PM support MAINTAINERS | 8 + drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/vpu/Kconfig | 12 + drivers/gpu/drm/vpu/Makefile | 16 + drivers/gpu/drm/vpu/vpu_boot_api.h | 222 ++++++ drivers/gpu/drm/vpu/vpu_drv.c | 642 +++++++++++++++ drivers/gpu/drm/vpu/vpu_drv.h | 178 +++++ drivers/gpu/drm/vpu/vpu_fw.c | 417 ++++++++++ drivers/gpu/drm/vpu/vpu_fw.h | 38 + drivers/gpu/drm/vpu/vpu_gem.c | 846 ++++++++++++++++++++ drivers/gpu/drm/vpu/vpu_gem.h | 113 +++ drivers/gpu/drm/vpu/vpu_hw.h | 163 ++++ drivers/gpu/drm/vpu/vpu_hw_mtl.c | 1040 +++++++++++++++++++++++++ drivers/gpu/drm/vpu/vpu_hw_mtl_reg.h | 468 +++++++++++ drivers/gpu/drm/vpu/vpu_hw_reg_io.h | 114 +++ drivers/gpu/drm/vpu/vpu_ipc.c | 480 ++++++++++++ drivers/gpu/drm/vpu/vpu_ipc.h | 91 +++ drivers/gpu/drm/vpu/vpu_job.c | 624 +++++++++++++++ drivers/gpu/drm/vpu/vpu_job.h | 73 ++ drivers/gpu/drm/vpu/vpu_jsm_api.h | 529 +++++++++++++ drivers/gpu/drm/vpu/vpu_jsm_msg.c | 220 ++++++ drivers/gpu/drm/vpu/vpu_jsm_msg.h | 25 + drivers/gpu/drm/vpu/vpu_mmu.c | 944 ++++++++++++++++++++++ drivers/gpu/drm/vpu/vpu_mmu.h | 53 ++ drivers/gpu/drm/vpu/vpu_mmu_context.c | 418 ++++++++++ drivers/gpu/drm/vpu/vpu_mmu_context.h | 49 ++ drivers/gpu/drm/vpu/vpu_pm.c | 353 +++++++++ drivers/gpu/drm/vpu/vpu_pm.h | 38 + include/uapi/drm/vpu_drm.h | 330 ++++++++ 30 files changed, 8507 insertions(+) create mode 100644 drivers/gpu/drm/vpu/Kconfig create mode 100644 drivers/gpu/drm/vpu/Makefile create mode 100644 drivers/gpu/drm/vpu/vpu_boot_api.h create mode 100644 drivers/gpu/drm/vpu/vpu_drv.c create mode 100644 drivers/gpu/drm/vpu/vpu_drv.h create mode 100644 drivers/gpu/drm/vpu/vpu_fw.c create mode 100644 drivers/gpu/drm/vpu/vpu_fw.h create mode 100644 drivers/gpu/drm/vpu/vpu_gem.c create mode 100644 drivers/gpu/drm/vpu/vpu_gem.h create mode 100644 drivers/gpu/drm/vpu/vpu_hw.h create mode 100644 drivers/gpu/drm/vpu/vpu_hw_mtl.c create mode 100644 drivers/gpu/drm/vpu/vpu_hw_mtl_reg.h create mode 100644 drivers/gpu/drm/vpu/vpu_hw_reg_io.h create mode 100644 drivers/gpu/drm/vpu/vpu_ipc.c create mode 100644 drivers/gpu/drm/vpu/vpu_ipc.h create mode 100644 drivers/gpu/drm/vpu/vpu_job.c create mode 100644 drivers/gpu/drm/vpu/vpu_job.h create mode 100644 drivers/gpu/drm/vpu/vpu_jsm_api.h create mode 100644 drivers/gpu/drm/vpu/vpu_jsm_msg.c create mode 100644 drivers/gpu/drm/vpu/vpu_jsm_msg.h create mode 100644 drivers/gpu/drm/vpu/vpu_mmu.c create mode 100644 drivers/gpu/drm/vpu/vpu_mmu.h create mode 100644 drivers/gpu/drm/vpu/vpu_mmu_context.c create mode 100644 drivers/gpu/drm/vpu/vpu_mmu_context.h create mode 100644 drivers/gpu/drm/vpu/vpu_pm.c create mode 100644 drivers/gpu/drm/vpu/vpu_pm.h create mode 100644 include/uapi/drm/vpu_drm.h -- 2.34.1