[git pull] new subsystem for compute accelerator devices

From: Oded Gabbay
Date: Tue Nov 22 2022 - 05:49:15 EST


Hi Dave,

Here is the pull request for creating the compute acceleration (accel)
subsystem. It includes the fixes to the few comments given in the latest
patch-set review.

Highlights of the patch-set contents are in the signed tag.

Thanks,
Oded

The following changes since commit fc58764bbf602b65a6f63c53e5fd6feae76c510c:

Merge tag 'amd-drm-next-6.2-2022-11-18' of https://gitlab.freedesktop.org/agd5f/linux into drm-next (2022-11-22 13:41:11 +1000)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/accel.git tags/drm-accel-2022-11-22

for you to fetch changes up to cadbcc80e81800a3189f9fed23407fa014b8e3c3:

doc: add documentation for accel subsystem (2022-11-22 12:41:08 +0200)

----------------------------------------------------------------
This tag contains the patches that add the new compute acceleration
subsystem, which is part of the DRM subsystem.

The patches:
- Add a new directory at drivers/accel.
- Add a new major (261) for compute accelerators.
- Add a new DRM minor type for compute accelerators.
- Integrate the accel core code with DRM core code.
- Add documentation for the accel subsystem.

----------------------------------------------------------------
Oded Gabbay (4):
drivers/accel: define kconfig and register a new major
accel: add dedicated minor for accelerator devices
drm: initialize accel framework
doc: add documentation for accel subsystem

Documentation/accel/index.rst | 17 ++
Documentation/accel/introduction.rst | 110 ++++++++++++
Documentation/admin-guide/devices.txt | 5 +
Documentation/subsystem-apis.rst | 1 +
MAINTAINERS | 9 +
drivers/Kconfig | 2 +
drivers/accel/Kconfig | 24 +++
drivers/accel/drm_accel.c | 323 ++++++++++++++++++++++++++++++++++
drivers/gpu/drm/Makefile | 1 +
drivers/gpu/drm/drm_drv.c | 101 ++++++++---
drivers/gpu/drm/drm_file.c | 2 +-
drivers/gpu/drm/drm_sysfs.c | 24 ++-
include/drm/drm_accel.h | 97 ++++++++++
include/drm/drm_device.h | 3 +
include/drm/drm_drv.h | 8 +
include/drm/drm_file.h | 21 ++-
16 files changed, 711 insertions(+), 37 deletions(-)
create mode 100644 Documentation/accel/index.rst
create mode 100644 Documentation/accel/introduction.rst
create mode 100644 drivers/accel/Kconfig
create mode 100644 drivers/accel/drm_accel.c
create mode 100644 include/drm/drm_accel.h