drm/imagination: Add skeleton PowerVR driver
authorSarah Walker <sarah.walker@imgtec.com>
Wed, 22 Nov 2023 16:34:26 +0000 (16:34 +0000)
committerMaxime Ripard <mripard@kernel.org>
Thu, 23 Nov 2023 08:01:45 +0000 (09:01 +0100)
commit4babef0708656c54e67ee0ee3994ee98898f51d1
treece1d52131961a4a80cad281f2e49fe746ed3e898
parent1088d89e551530a9f5128770d74a1516090f1e41
drm/imagination: Add skeleton PowerVR driver

This adds the basic skeleton of the driver. The driver registers
itself with DRM on probe. Ioctl handlers are currently implemented
as stubs.

Changes since v8:
- Corrected license identifiers

Changes since v5:
- Update compatible string & description to match marketing name
- Checkpatch fixes in to/from_pvr_device/file macros

Changes since v3:
- Clarify supported GPU generations in driver description
- Use drm_dev_unplug() when removing device
- Change from_* and to_* functions to macros
- Fix IS_PTR/PTR_ERR confusion in pvr_probe()
- Remove err_out labels in favour of direct returning
- Remove specific am62 compatible match string
- Drop MODULE_FIRMWARE()

Co-developed-by: Frank Binns <frank.binns@imgtec.com>
Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Co-developed-by: Matt Coster <matt.coster@imgtec.com>
Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Signed-off-by: Sarah Walker <sarah.walker@imgtec.com>
Signed-off-by: Donald Robson <donald.robson@imgtec.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/fed8a77e29620a61aed2684f802339759082cf1b.1700668843.git.donald.robson@imgtec.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
MAINTAINERS
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/imagination/Kconfig [new file with mode: 0644]
drivers/gpu/drm/imagination/Makefile [new file with mode: 0644]
drivers/gpu/drm/imagination/pvr_device.h [new file with mode: 0644]
drivers/gpu/drm/imagination/pvr_drv.c [new file with mode: 0644]
drivers/gpu/drm/imagination/pvr_drv.h [new file with mode: 0644]