[RFC][PATCH 00/10] drm: Add DRM module helpers for existing PCI drivers
Javier Martinez Canillas
javierm at redhat.com
Thu Jan 27 18:26:18 UTC 2022
On 12/17/21 15:46, Thomas Zimmermann wrote:
> 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
>
Pushed the remaining of these patches to drm-misc-next. Thanks!
Best regards,
--
Javier Martinez Canillas
Linux Engineering
Red Hat
More information about the dri-devel
mailing list