[PATCH 27/60] drm/omap: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/omapdrm/omap_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers/gpu/drm

[PATCH 47/60] drm/hx8357d: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tiny/hx8357d.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tiny/hx8357d.c b/drivers/gpu/drm/tiny/hx8357d.c

[PATCH 44/60] drm/tilcdc: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b/drivers/gpu/drm

[PATCH 58/60] drm/via: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/via/via_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/via/via_drv.c b/drivers/gpu/drm/via/via_drv.c

[PATCH 33/60] drm/rockchip: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b

[PATCH 25/60] drm/msm: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/msm/msm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c

[PATCH 57/60] drm/udl: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/udl/udl_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/udl/udl_drv.c b/drivers/gpu/drm/udl/udl_drv.c

[PATCH 28/60] drm/panel: ilitek-ili9341: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9341.c b

[PATCH 52/60] drm/mi0283qt: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tiny/mi0283qt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tiny/mi0283qt.c b/drivers/gpu/drm/tiny

[PATCH 45/60] drm/arc: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tiny/arcpgu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tiny/arcpgu.c b/drivers/gpu/drm/tiny/arcpgu.c

[PATCH 51/60] drm/ili9486: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tiny/ili9486.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tiny/ili9486.c b/drivers/gpu/drm/tiny/ili9486.c

[PATCH 40/60] drm/sun4i: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/sun4i/sun4i_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i

[PATCH 41/60] drm/tdfx: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tdfx/tdfx_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tdfx/tdfx_drv.c b/drivers/gpu/drm/tdfx

[PATCH 46/60] drm/gm12u320: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/tiny/gm12u320.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tiny/gm12u320.c b/drivers/gpu/drm/tiny/gm12u320

[PATCH 36/60] drm/sis: Add support for the nomodeset kernel parameter

2021-12-14 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- drivers/gpu/drm/sis/sis_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sis/sis_drv.c b/drivers/gpu/drm/sis/sis_drv.c

Re: [PATCH 59/60] drm/xen: Add support for the nomodeset kernel parameter

2021-12-15 Thread Javier Martinez Canillas
Hello Oleksandr, On 12/15/21 06:58, Oleksandr Andrushchenko wrote: > Hi, Javier! > > On 15.12.21 03:00, Javier Martinez Canillas wrote: >> According to disable Documentation/admin-guide/kernel-parameters.txt, this >> parameter can be used to disable kernel modesetting. >&

Re: [PATCH 00/60] drm: Make all drivers to honour the nomodeset parameter

2021-12-15 Thread Javier Martinez Canillas
anted to get rid of the duplicated code but I'm indeed over engineering this :) [0]: https://people.freedesktop.org/~cbrill/dri-log/?channel=dri-devel&date=2021-11-02 > Best regards > Thomas > Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH 00/60] drm: Make all drivers to honour the nomodeset parameter

2021-12-15 Thread Javier Martinez Canillas
_firmware_drivers_only() automatically if it uses such a macro. > Yes, and it could also be used as an extension point in case we need more logic like the drm_firmware_drivers_only() check for all drivers in the future. So your suggestion is certainly the way to go. I'll post a v2 when I g

Re: [PATCH 07/60] drm/etnaviv: Add support for the nomodeset kernel parameter

2021-12-15 Thread Javier Martinez Canillas
[adding Erico Nunes to Cc list] On 12/15/21 10:39, Thomas Zimmermann wrote: > (cc'ing Maxime) > > Hi > > Am 15.12.21 um 10:18 schrieb Lucas Stach: >> Hi Javier, >> >> Am Mittwoch, dem 15.12.2021 um 01:59 +0100 schrieb Javier Martinez Canillas: >>>

Re: [PATCH 11/60] drm/gud: Add support for the nomodeset kernel parameter

2021-12-15 Thread Javier Martinez Canillas
Hello Noralf, On 12/15/21 22:37, Noralf Trønnes wrote: > > > Den 15.12.2021 01.59, skrev Javier Martinez Canillas: >> According to disable Documentation/admin-guide/kernel-parameters.txt, this >> parameter can be used to disable kernel modesetting. >> >> DRM

Re: [PATCH 00/60] drm: Make all drivers to honour the nomodeset parameter

2021-12-15 Thread Javier Martinez Canillas
t ast_exit(void) { pci_unregister_driver(&ast_pci_driver); } But I think these cleanups are out of scope for this series and could be done as a follow-up. Since the drm_firmware_drivers_only() check would be needed in the module init function anyways. > Best regards > Thomas > Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH 00/60] drm: Make all drivers to honour the nomodeset parameter

2021-12-15 Thread Javier Martinez Canillas
init call, etc) but at least for most drivers this should be handled transparently as long as they use these drm_*_register_driver() macros. So just ignore this series and I'll post a v2 soon. Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH 00/60] drm: Make all drivers to honour the nomodeset parameter

2021-12-15 Thread Javier Martinez Canillas
On 12/16/21 01:24, Laurent Pinchart wrote: > Hi Javier, > > On Thu, Dec 16, 2021 at 01:13:56AM +0100, Javier Martinez Canillas wrote: >> Hello Laurent, >> >> On 12/16/21 00:35, Laurent Pinchart wrote: >> >> [snip] >> >>>> >>>>

[PATCH] drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled

2021-12-16 Thread Javier Martinez Canillas
the driver to be built on other architectures which is useful to have compile test coverage when doing subsystem wide changes. Make the dependency instead to be (ARM64 || COMPILE_TEST), so the driver is buildable when the CONFIG_COMPILE_TEST option is enabled. Signed-off-by: Javier Martine

[PATCH v2 00/37] drm: Make drivers to honour the nomodeset parameter

2021-12-16 Thread Javier Martinez Canillas
(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

[PATCH v2 01/37] drm: Add drm_module_{pci, platform}_driver() helper macros

2021-12-16 Thread Javier Martinez Canillas
DRM drivers currently check for nomodeset, so let's add two helper macros that can be used by DRM drivers for PCI and platform devices to have module init functions that checks if the drivers could be loaded. Suggested-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no ch

[PATCH v2 04/37] drm/arm/hdlcd: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/hdlcd_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 02/37] drm/hisilicon/hibmc: Use drm_module_pci_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific PCI driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 08/37] drm/fsl-dcu: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 10/37] drm/imx/dcss: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas Reviewed-by: Lucas Stach --- (no changes since v1) drivers/gpu/drm/imx/dcss/dcss-drv.c | 2 +- 1 file changed, 1 insertion

[PATCH v2 07/37] drm/atmel-hlcdc: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 06/37] drm/aspeed: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 11/37] drm/kmb: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/kmb/kmb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v2 13/37] drm: mxsfb: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 03/37] drm/komeda: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1

[PATCH v2 16/37] drm/sun4i: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 21/37] drm/armada: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/armada/armada_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/armada/armada_drv.c b

[PATCH v2 25/37] drm/imx: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/imx/imx-drm-core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers

[PATCH v2 18/37] drm/arc: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tiny/arcpgu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v2 20/37] drm/xlnx: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/xlnx/zynqmp_dpsub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 14/37] drm/shmobile: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/shmobile/shmob_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH v2 27/37] drm/mcde: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas Reviewed-by: Linus Walleij --- (no changes since v1) drivers/gpu/drm/mcde/mcde_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mcde

[PATCH v2 30/37] drm/omap: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/omapdrm/omap_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/omapdrm/omap_drv.c b/drivers

[PATCH v2 22/37] drm/exynos: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/exynos/exynos_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c

[PATCH v2 09/37] drm/hisilicon/kirin: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 23/37] drm/gma500: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/gma500/psb_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/gma500/psb_drv.c b/drivers/gpu

[PATCH v2 29/37] drm/msm: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/msm/msm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm

[PATCH v2 05/37] drm/malidp: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/malidp_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 31/37] drm: rcar-du: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b

[PATCH v2 26/37] drm/ingenic: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/ingenic/ingenic-drm

[PATCH v2 17/37] drm/tidss: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tidss/tidss_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 19/37] drm/tve200: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas Reviewed-by: Linus Walleij --- (no changes since v1) drivers/gpu/drm/tve200/tve200_drv.c | 2 +- 1 file changed, 1

[PATCH v2 12/37] drm/meson: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/meson/meson_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 28/37] drm/mediatek: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/mediatek/mtk_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b

[PATCH v2 32/37] drm/rockchip: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/rockchip

[PATCH v2 15/37] drm/stm: Use drm_module_platform_driver() to register the driver

2021-12-16 Thread Javier Martinez Canillas
The macro calls to a DRM specific platform driver init handler that checks whether the driver is allowed to be registered or not. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/stm/drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH v2 24/37] drm/hyperv: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/hyperv/hyperv_drm_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/hyperv/hyperv_drm_drv.c

[PATCH v2 36/37] drm/tilcdc: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tilcdc/tilcdc_drv.c b

[PATCH v2 34/37] drm/sti: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/sti/sti_drv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm

[PATCH v2 37/37] drm/xen: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas Reviewed-by: Oleksandr Andrushchenko --- (no changes since v1) drivers/gpu/drm/xen/xen_drm_front.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v2 35/37] drm/tegra: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tegra/drm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra

[PATCH v2 33/37] drm/sprd: Add support for the nomodeset kernel parameter

2021-12-16 Thread Javier Martinez Canillas
drivers currently check for nomodeset, make this driver to also support the command line parameter. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/sprd/sprd_drm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/sprd/sprd_drm.c b/drivers/gpu

[PATCH v3 01/10] drm: Provide PCI module-init macros

2021-12-22 Thread Javier Martinez Canillas
From: Thomas Zimmermann Provide helper macros to register PCI-based DRM drivers. The new macros behave like module_pci_driver() with an additional test if DRM modesetting has been enabled. Signed-off-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no changes since v1

[PATCH v3 00/10] drm: Make drivers to honour the nomodeset parameter

2021-12-22 Thread Javier Martinez Canillas
ave 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

[PATCH v3 04/10] drm/cirrus: Replace module-init boiler-plate code with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
From: Thomas Zimmermann Remove custom cirrus_init() and cirrus_exit() functions and initialize the module with DRM module helpers. Signed-off-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tiny/cirrus.c | 17 ++--- 1 file

[PATCH v3 03/10] drm/bochs: Replace module-init boiler-plate code with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
From: Thomas Zimmermann Remove custom bochs_init() and bochs_exit() functions and initialize the module with DRM module helpers. Signed-off-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/tiny/bochs.c | 20 ++-- 1 file

[PATCH v3 05/10] drm/hisilicon/hibmc: Replace module initialization with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
From: Thomas Zimmermann Replace module_pci_driver() with drm_module_pci_driver(). The DRM macro respects drm_firmware_drivers_only() and fails if the flag has been set. Signed-off-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm

[PATCH v3 02/10] drm/ast: Replace module-init boiler-plate code with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
From: Thomas Zimmermann Remove custom ast_init() and ast_exit() functions and initialize the module with DRM module helpers. Signed-off-by: Thomas Zimmermann Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/ast/ast_drv.c | 18 ++ 1 file

[PATCH v3 07/10] drm/imx/dcss: Replace module initialization with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
Replace module_platform_driver() with drm_module_platform_driver(). The DRM macro respects drm_firmware_drivers_only() and fails if the flag has been set. Signed-off-by: Javier Martinez Canillas Reviewed-by: Lucas Stach --- (no changes since v1) drivers/gpu/drm/imx/dcss/dcss-drv.c | 3 ++- 1

[PATCH v3 10/10] drm/malidp: Replace module initialization with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
Replace module_platform_driver() with drm_module_platform_driver(). The DRM macro respects drm_firmware_drivers_only() and fails if the flag has been set. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/malidp_drv.c | 3 ++- 1 file changed, 2 insertions

[PATCH v3 06/10] drm: Provide platform module-init macro

2021-12-22 Thread Javier Martinez Canillas
Provide a helper macro to register platform DRM drivers. The new macro behaves like module_platform_driver() with an additional test if DRM modesetting has been enabled. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) include/drm/drm_module.h | 30

[PATCH v3 08/10] drm/komeda: Replace module initialization with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
Replace module_platform_driver() with drm_module_platform_driver(). The DRM macro respects drm_firmware_drivers_only() and fails if the flag has been set. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/display/komeda/komeda_drv.c | 3 ++- 1 file changed

[PATCH v3 09/10] drm/arm/hdlcd: Replace module initialization with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
Replace module_platform_driver() with drm_module_platform_driver(). The DRM macro respects drm_firmware_drivers_only() and fails if the flag has been set. Signed-off-by: Javier Martinez Canillas --- (no changes since v1) drivers/gpu/drm/arm/hdlcd_drv.c | 3 ++- 1 file changed, 2 insertions

Re: [PATCH v3 03/10] drm/bochs: Replace module-init boiler-plate code with DRM helpers

2021-12-22 Thread Javier Martinez Canillas
Hello Gerd, On 12/22/21 11:21, Gerd Hoffmann wrote: > On Wed, Dec 22, 2021 at 09:28:24AM +0100, Javier Martinez Canillas wrote: >> -static int __init bochs_init(void) >> -{ >> -if (drm_firmware_drivers_only() && bochs_modeset == -1) >> -

[PATCH 1/2] video: vga16fb: Fix logic that checks for the display standard

2022-01-07 Thread Javier Martinez Canillas
to VIDEO_TYPE_VGAC instead. This means that it assumes to be VGA even if is set to VIDEO_TYPE_EGAC. Signed-off-by: Javier Martinez Canillas --- drivers/video/fbdev/vga16fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/vga16fb.c b/drivers/video/fbdev

[PATCH 2/2] video: vga16fb: Only probe for EGA and VGA 16 color graphic cards

2022-01-07 Thread Javier Martinez Canillas
done later as a consequence of that change. Link: https://bugzilla.kernel.org/show_bug.cgi?id=215001 Fixes: d391c5827107 ("drivers/firmware: move x86 Generic System Framebuffers support") Reported-by: Kris Karas Cc: # 5.15.x Signed-off-by: Javier Martinez Canillas Tested-by: Kris Karas

[PATCH 0/2] video: A couple of fixes for the vga16fb driver

2022-01-07 Thread Javier Martinez Canillas
eck to the driver to only be loaded for EGA and VGA 16 color graphic cards. [0]: https://bugzilla.kernel.org/show_bug.cgi?id=215001 Best regards, Javier Javier Martinez Canillas (2): video: vga16fb: Fix logic that checks for the display standard video: vga16fb: Only probe for EGA and VGA 16

Re: [PATCH 1/2] video: vga16fb: Fix logic that checks for the display standard

2022-01-10 Thread Javier Martinez Canillas
uld be no confusion as to data type > in all the more recent architecture-agnostic framebuffer code. > Yes, I'll post a v2 to do that but hopefully the CONFIG_X86 guard could be dropped in the future once all the architectures are fixed. > Kris > Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat

[PATCH v2 0/2] video: A couple of fixes for the vga16fb driver

2022-01-10 Thread Javier Martinez Canillas
Uytterhoeven) - Only check the suppported video mode for x86 (Geert Uytterhoeven). Javier Martinez Canillas (2): video: vga16fb: Fix logic that checks for the display standard video: vga16fb: Only probe for EGA and VGA 16 color graphic cards drivers/video/fbdev/vga16fb.c | 29 +

[PATCH v2 2/2] video: vga16fb: Only probe for EGA and VGA 16 color graphic cards

2022-01-10 Thread Javier Martinez Canillas
e x86 Generic System Framebuffers support") Reported-by: Kris Karas Cc: # 5.15.x Signed-off-by: Javier Martinez Canillas Tested-by: Kris Karas --- Changes in v2: - Only check the suppported video mode for x86 (Geert Uytterhoeven). drivers/video/fbdev/vga16fb.c | 24 +++

[PATCH v2 1/2] video: vga16fb: Fix logic that checks for the display standard

2022-01-10 Thread Javier Martinez Canillas
to VIDEO_TYPE_VGAC instead. This means that it assumes to be VGA even if is set to VIDEO_TYPE_EGAC. All non-x86 architectures though treat orig_video_isVGA as a boolean so only do the change for x86 and keep the old logic for the other arches. Signed-off-by: Javier Martinez Canillas --- Changes

Re: [PATCH] drm/hisilicon/hibmc: Allow to be built if COMPILE_TEST is enabled

2022-01-10 Thread Javier Martinez Canillas
On 12/16/21 22:09, Javier Martinez Canillas wrote: > The commit feeb07d0ca5a ("drm/hisilicon/hibmc: Make CONFIG_DRM_HISI_HIBMC > depend on ARM64") made the driver Kconfig symbol to depend on ARM64 since > it only supports that architecture and loading the module on others would

Re: [PATCH v1 1/2] drm/sprd: remove the selected DRM_KMS_CMA_HELPER in kconfig

2022-01-11 Thread Javier Martinez Canillas
on") > just removed the > DRM_KMS_CMA_HELPER. So, the select DRM_KMS_CMA_HELPER refers to a > non-existing kconfig symbol. > > Cc: Orson Zhai > Cc: Chunyan Zhang > Signed-off-by: Kevin Tang > --- Other than that, the patch looks good to me. Reviewed-by: J

Re: [PATCH v1 2/2] drm/sprd: fix potential NULL dereference

2022-01-11 Thread Javier Martinez Canillas
nd change in a separate patch and just keep this one about checking the platform_get_resource() return value. If you do that, feel free to add: Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH RESEND v4 v5 4/4] drm/vc4: Notify the firmware when DRM is in charge

2022-01-11 Thread Javier Martinez Canillas
rmware it can free whatever resource it was > using to maintain simplefb functional. > > Signed-off-by: Maxime Ripard > --- Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, Javier

Re: [PATCH v2 3/5] drm/dp: Move DisplayPort helpers into separate helper module

2022-01-11 Thread Javier Martinez Canillas
On Wed, Dec 15, 2021 at 12:12 PM Thomas Zimmermann wrote: > > Hi > > Am 15.12.21 um 12:04 schrieb Jani Nikula: > > On Wed, 15 Dec 2021, Thomas Zimmermann wrote: > >> * move DP helper code into dp/ (Jani) > > > > I suggested adding the subdirectory, but I'm going to bikeshed the name, > > whi

Re: [PATCH v2 0/2] video: A couple of fixes for the vga16fb driver

2022-01-12 Thread Javier Martinez Canillas
Hello Kris, On 1/12/22 03:19, Kris Karas (Bug reporting) wrote: > Hi Javier, Geert, et al, > > Javier Martinez Canillas wrote: >> Changes in v2: >> - Make the change only for x86 (Geert Uytterhoeven) >> - Only check the suppported video mode for x86 (Geert Uytterhoeve

[PATCH] drm/bridge: analogix_dp: Remove duplicated code

2016-08-04 Thread Javier Martinez Canillas
e able to > use them instead of duplicating them. > > Signed-off-by: Tomeu Vizoso > Cc: Javier Martinez Canillas > Cc: Mika Kahola > Cc: Yakir Yang > Cc: Daniel Vetter > --- I tested this patch on an Exynos5800 Peach Pi Chromebook and display is still working correctl

[PATCH v2] exynos-drm: Fix unsupported GEM memory type error message to be clear

2016-08-10 Thread Javier Martinez Canillas
uous GEM memory is not supported.\n"); > return -EINVAL; > } > > Patch looks good to me. Reviewed-by: Javier Martinez Canillas Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America

[PATCH] exynos-drm: Fix error messages to print flags and size

2016-08-10 Thread Javier Martinez Canillas
Hello Shuah, On Wed, Aug 10, 2016 at 1:30 PM, Shuah Khan wrote: > Fix exynos_drm_gem_create() error messages to include flags and size when > flags and size are invalid. > > Signed-off-by: Shuah Khan > --- Reviewed-by: Javier Martinez Canillas Best regards, Javier

[PATCH] exynos-drm: Fix display manager failing to start without IOMMU problem

2016-08-10 Thread Javier Martinez Canillas
start. > + */ > + if (!is_drm_iommu_supported(dev) && > + (args->flags & EXYNOS_BO_NONCONTIG)) { > + args->flags &= ~EXYNOS_BO_NONCONTIG; > + args->flags |= EXYNOS_BO_CONTIG; > + } > + I'm n

Re: [RFC PATCH 1/1] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()

2022-06-02 Thread Javier Martinez Canillas
colors: White, black, red, green, blue, magenta, yellow >and cyan > - Other colors: Randomly picked > - Destination pitch > > Suggested-by: Javier Martinez Canillas > Signed-off-by: José Expósito > --- Thanks a lot for working on this! It's very cool to see th

Re: [RFC PATCH 1/1] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()

2022-06-02 Thread Javier Martinez Canillas
Hello David, On 6/2/22 19:07, David Gow wrote: > On Thu, Jun 2, 2022 at 9:27 AM Javier Martinez Canillas [snip] >> >> And doing that will also allow you to get rid of this, since just selecting >> CONFIG_DRM_KUNIT_TEST=y would be enough for the tests built and run by K

Re: [RFC PATCH 1/1] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()

2022-06-02 Thread Javier Martinez Canillas
aybe others and then the tests could also be run with something like: ./tools/testing/kunit/kunit.py run --kunitconfig=drivers/gpu/drm/.kunitconfig \ --kunitconfig=arch/um/.kunitconfig -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH v5 1/6] dt-bindings: gpu: v3d: Add BCM2711's compatible

2022-06-02 Thread Javier Martinez Canillas
Hello Peter, On 6/1/22 13:02, Peter Robinson wrote: > BCM2711, Raspberry Pi 4's SoC, contains a V3D core. So add its specific > compatible to the bindings. > > Signed-off-by: Nicolas Saenz Julienne > Signed-off-by: Peter Robinson > --- Reviewed-by: Javier Martinez Cani

Re: [PATCH v5 2/6] drm/v3d: Get rid of pm code

2022-06-02 Thread Javier Martinez Canillas
r Robinson > --- This makes sense to me. Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH v5 3/6] drm/v3d: Add support for bcm2711

2022-06-02 Thread Javier Martinez Canillas
On 6/1/22 13:02, Peter Robinson wrote: > Add compatible string and Kconfig options for bcm2711. > > Signed-off-by: Nicolas Saenz Julienne > Signed-off-by: Peter Robinson > --- Reviewed-by: Javier Martinez Canillas I've one small nit though. [snip] > # SPDX-License-I

Re: [PATCH v5 4/6] ARM: dts: bcm2711: Enable V3D

2022-06-02 Thread Javier Martinez Canillas
already: Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH v5 5/6] ARM: configs: Enable DRM_V3D

2022-06-02 Thread Javier Martinez Canillas
Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat

Re: [PATCH v5 6/6] arm64: config: Enable DRM_V3D

2022-06-02 Thread Javier Martinez Canillas
On 6/1/22 13:02, Peter Robinson wrote: > From: Nicolas Saenz Julienne > > BCM2711, the SoC used on the Raspberry Pi 4 has a different GPU than its > predecessors. Enable it. > > Signed-off-by: Nicolas Saenz Julienne > Signed-off-by: Peter Robinson > --- Reviewed-by:

<    1   2   3   4   5   6   7   8   9   10   >