From: Thomas Zimmermann <tzimmermann@suse.de>
To: Javier Martinez Canillas <javierm@redhat.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Cc: Brian Starkey <brian.starkey@arm.com>,
Chen Feng <puck.chen@hisilicon.com>,
Daniel Vetter <daniel@ffwll.ch>, Dave Airlie <airlied@redhat.com>,
David Airlie <airlied@linux.ie>,
Fabio Estevam <festevam@gmail.com>,
Gerd Hoffmann <kraxel@redhat.com>,
"James (Qian) Wang" <james.qian.wang@arm.com>,
John Stultz <john.stultz@linaro.org>,
Jonathan Corbet <corbet@lwn.net>,
Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>,
Liviu Dudau <liviu.dudau@arm.com>,
Lucas Stach <l.stach@pengutronix.de>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Mihail Atanassov <mihail.atanassov@arm.com>,
NXP Linux Team <linux-imx@nxp.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Philipp Zabel <p.zabel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
Tian Tao <tiantao6@hisilicon.com>,
Xinliang Liu <xinliang.liu@linaro.org>,
Xinwei Kong <kong.kongxinwei@hisilicon.com>,
linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org,
virtualization@lists.linux-foundation.org
Subject: Re: [PATCH v3 00/10] drm: Make drivers to honour the nomodeset parameter
Date: Tue, 11 Jan 2022 09:52:24 +0100 [thread overview]
Message-ID: <1a5bd538-063b-c2cf-bb3e-96a6fdb0da0f@suse.de> (raw)
In-Reply-To: <20211222082831.196562-1-javierm@redhat.com>
[-- Attachment #1.1: Type: text/plain, Size: 3784 bytes --]
Hi
patches 6 to 10 are
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Best regards
Thomas
Am 22.12.21 um 09:28 schrieb Javier Martinez Canillas:
> The nomodeset kernel command line parameter is used to prevent the KMS/DRM
> drivers to be registered/probed. But only a few drivers implement support
> for this and most DRM drivers just ignore it.
>
> This patch series is a v3 to make DRM drivers to honour nomodeset. It is
> posted as separate patches to make easier for drivers maintainers to ack
> or pick them independently at their own pace.
>
> The drm_module_{pci,platform}_driver() helper macros are added, which are
> just wrappers around module_{pci,platform}_driver() but adding a check for
> drm_firmware_drivers_only() and returning -ENODEV if that is true.
>
> PCI and platform DRM drivers are then modified in the following patches to
> make use of those macros.
>
> Only KMS drivers will be ported to use these new macros, and only for PCI
> and platform DRM drivers. A follow-up series might do the same for drivers
> that are rendering-only and for USB/SPI/I2C devices, but it will need more
> discussion to agree whether that's desirable or not.
>
> Not all drivers were posted in v3 to avoid flooding the list with too many
> patches. I'm only including the patches adding the macros and some patches
> as an example of their usage.
>
> I've built tested with 'make allmodconfig && make M=drivers/gpu/drm' but I
> don't have hardware to test the drivers, so review/testing is appreciated.
>
> Best regards,
> Javier
>
> Changes in v3:
> - Include Thomas Zimmermann's patches in the series and rebase on top.
> - Add collected Acked-by tags from v2.
>
> Changes in v2:
> - Add drm_module_{pci,platform}_driver() macros and put the check there
> (Thomas Zimmermann).
> - Use the drm_module_*_driver() macros if possible (Thomas Zimmermann).
> - Leave the DRM drivers that don't set the DRIVER_MODESET driver feature
> (Lucas Stach).
> - Leave USB/SPI/I2C drivers and only include PCI and platform ones
> (Noralf Trønnes).
> - Add collected Reviewed-by tags
>
> Javier Martinez Canillas (5):
> drm: Provide platform module-init macro
> drm/imx/dcss: Replace module initialization with DRM helpers
> drm/komeda: Replace module initialization with DRM helpers
> drm/arm/hdlcd: Replace module initialization with DRM helpers
> drm/malidp: Replace module initialization with DRM helpers
>
> Thomas Zimmermann (5):
> 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
>
> Documentation/gpu/drm-internals.rst | 6 +
> .../gpu/drm/arm/display/komeda/komeda_drv.c | 3 +-
> drivers/gpu/drm/arm/hdlcd_drv.c | 3 +-
> drivers/gpu/drm/arm/malidp_drv.c | 3 +-
> drivers/gpu/drm/ast/ast_drv.c | 18 +--
> .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 +-
> drivers/gpu/drm/imx/dcss/dcss-drv.c | 3 +-
> drivers/gpu/drm/tiny/bochs.c | 20 +--
> drivers/gpu/drm/tiny/cirrus.c | 17 +--
> include/drm/drm_module.h | 125 ++++++++++++++++++
> 10 files changed, 147 insertions(+), 54 deletions(-)
> create mode 100644 include/drm/drm_module.h
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Ivo Totev
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2022-01-11 8:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-22 8:28 [PATCH v3 00/10] drm: Make drivers to honour the nomodeset parameter Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 01/10] drm: Provide PCI module-init macros Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 02/10] drm/ast: Replace module-init boiler-plate code with DRM helpers Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 03/10] drm/bochs: " Javier Martinez Canillas
2021-12-22 10:21 ` Gerd Hoffmann
2021-12-22 12:18 ` Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 04/10] drm/cirrus: " Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 05/10] drm/hisilicon/hibmc: Replace module initialization " Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 06/10] drm: Provide platform module-init macro Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 07/10] drm/imx/dcss: Replace module initialization with DRM helpers Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 08/10] drm/komeda: " Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 09/10] drm/arm/hdlcd: " Javier Martinez Canillas
2021-12-22 8:28 ` [PATCH v3 10/10] drm/malidp: " Javier Martinez Canillas
2022-01-11 8:52 ` Thomas Zimmermann [this message]
2022-01-19 9:09 ` [PATCH v3 00/10] drm: Make drivers to honour the nomodeset parameter Javier Martinez Canillas
2022-01-19 18:49 ` Javier Martinez Canillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1a5bd538-063b-c2cf-bb3e-96a6fdb0da0f@suse.de \
--to=tzimmermann@suse.de \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=brian.starkey@arm.com \
--cc=corbet@lwn.net \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=festevam@gmail.com \
--cc=james.qian.wang@arm.com \
--cc=javierm@redhat.com \
--cc=john.stultz@linaro.org \
--cc=kernel@pengutronix.de \
--cc=kong.kongxinwei@hisilicon.com \
--cc=kraxel@redhat.com \
--cc=l.stach@pengutronix.de \
--cc=laurentiu.palcu@oss.nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-imx@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=liviu.dudau@arm.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mihail.atanassov@arm.com \
--cc=mripard@kernel.org \
--cc=p.zabel@pengutronix.de \
--cc=puck.chen@hisilicon.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
--cc=tiantao6@hisilicon.com \
--cc=virtualization@lists.linux-foundation.org \
--cc=xinliang.liu@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox