RFC drm: Add DRM module helpers for existing PCI drivers
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest10 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | drm: Provide PCI module-init macrosDocumentation/ include/ | +101 | 0 replies | |
| 2/10 | drm/ast: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 3/10 | drm/bochs: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 4/10 | drm/cirrus: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 5/10 | drm/hisilicon/hibmc: Replace module initialization with DRM helpersdrivers/ | +2 | 0 replies | |
| 6/10 | drm/mgag200: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 7/10 | drm/qxl: Move ioctl array next to its only userdrivers/ drivers/ drivers/ | +27 | 0 replies | |
| 8/10 | drm/qxl: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 9/10 | drm/vboxvideo: Replace module-init boiler-plate code with DRM helpersdrivers/ | +2 | 0 replies | |
| 10/10 | drm/vmwgfx: Replace module-init boiler-plate code with DRM helpersdrivers/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 00/10] drm: Add DRM module helpers for existing PCI drivers
This is an RFC patchset to complement the helper macros provided in [1]. The module helpers create module init and exit helpers that respect the kernel parameters that enable/disable DRM drivers.
There's one more patch that prepares qxl by moving some code around. It's required to make use of the helpers from within qxl.
Javier, please see if you find anything useful here and cherry-pick into your patchset. The driver changes should complement the ones in your patchset. The module macros are similar to yours and should be easily mergable.
I tested the macros with ast.
[1] https://patchwork.freedesktop.org/series/98162/
Thomas Zimmermann (10):
drm: Provide PCI module-init macros
drm/ast: Replace module-init boiler-plate code with DRM helpers drm/bochs: Replace module-init boiler-plate code with DRM helpers drm/cirrus: Replace module-init boiler-plate code with DRM helpers drm/hisilicon/hibmc: Replace module initialization with DRM helpers drm/mgag200: Replace module-init boiler-plate code with DRM helpers drm/qxl: Move ioctl array next to its only user
drm/qxl: Replace module-init boiler-plate code with DRM helpers drm/vboxvideo: Replace module-init boiler-plate code with DRM helpers drm/vmwgfx: Replace module-init boiler-plate code with DRM helpers
Documentation/gpu/drm-internals.rst | 6 ++ drivers/gpu/drm/ast/ast_drv.c | 18 +--- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 +- drivers/gpu/drm/mgag200/mgag200_drv.c | 20 +--- drivers/gpu/drm/qxl/qxl_drv.c | 31 +++--- drivers/gpu/drm/qxl/qxl_drv.h | 13 ++- drivers/gpu/drm/qxl/qxl_ioctl.c | 41 ++------ drivers/gpu/drm/tiny/bochs.c | 20 +--- drivers/gpu/drm/tiny/cirrus.c | 17 +--- drivers/gpu/drm/vboxvideo/vbox_drv.c | 20 +--- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 24 +---- include/drm/drm_module.h | 95 +++++++++++++++++++ 12 files changed, 145 insertions(+), 163 deletions(-) create mode 100644 include/drm/drm_module.h
base-commit: 3f422828221d9ceefcddef0be33561b1646a1cbe --
2.34.1
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization