[PATCH v6 2/6] drm/log: Introduce a new boot logger to draw the kmsg on the screen
kernel test robot
lkp at intel.com
Wed Nov 6 00:38:35 UTC 2024
Hi Jocelyn,
kernel test robot noticed the following build errors:
[auto build test ERROR on d78f0ee0406803cda8801fd5201746ccf89e5e4a]
url: https://github.com/intel-lab-lkp/linux/commits/Jocelyn-Falempe/drm-panic-Move-drawing-functions-to-drm_draw/20241105-205432
base: d78f0ee0406803cda8801fd5201746ccf89e5e4a
patch link: https://lore.kernel.org/r/20241105125109.226866-3-jfalempe%40redhat.com
patch subject: [PATCH v6 2/6] drm/log: Introduce a new boot logger to draw the kmsg on the screen
config: s390-randconfig-001-20241106 (https://download.01.org/0day-ci/archive/20241106/202411060804.HiQa1eSZ-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241106/202411060804.HiQa1eSZ-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411060804.HiQa1eSZ-lkp@intel.com/
All errors (new ones prefixed by >>):
s390-linux-ld: drivers/gpu/drm/arm/display/komeda/komeda_drv.o: in function `komeda_platform_probe':
>> drivers/gpu/drm/arm/display/komeda/komeda_drv.c:87:(.text+0x18e): undefined reference to `drm_client_setup'
s390-linux-ld: drivers/gpu/drm/radeon/radeon_drv.o: in function `radeon_pci_probe':
>> drivers/gpu/drm/radeon/radeon_drv.c:336:(.text+0x594): undefined reference to `drm_client_setup'
s390-linux-ld: drivers/gpu/drm/vkms/vkms_drv.o: in function `vkms_create':
>> drivers/gpu/drm/vkms/vkms_drv.c:230:(.text.unlikely+0x1b4): undefined reference to `drm_client_setup'
s390-linux-ld: drivers/gpu/drm/nouveau/nouveau_drm.o: in function `nouveau_drm_probe':
>> drivers/gpu/drm/nouveau/nouveau_drm.c:882:(.text+0x2c26): undefined reference to `drm_client_setup'
s390-linux-ld: drivers/gpu/drm/ast/ast_drv.o: in function `ast_pci_probe':
>> drivers/gpu/drm/ast/ast_drv.c:365:(.text+0x916): undefined reference to `drm_client_setup'
s390-linux-ld: drivers/gpu/drm/qxl/qxl_drv.o:drivers/gpu/drm/qxl/qxl_drv.c:122: more undefined references to `drm_client_setup' follow
vim +87 drivers/gpu/drm/arm/display/komeda/komeda_drv.c
ce3d99c8349584 Douglas Anderson 2023-09-01 55
4cfe5cc02e3f62 Faiz Abbas 2023-07-12 56 static int komeda_platform_probe(struct platform_device *pdev)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 57) {
4cfe5cc02e3f62 Faiz Abbas 2023-07-12 58 struct device *dev = &pdev->dev;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 59) struct komeda_drv *mdrv;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 60) int err;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 61)
a918dcfecc36f8 Amjad Ouled-Ameur 2024-02-19 62 err = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(40));
a918dcfecc36f8 Amjad Ouled-Ameur 2024-02-19 63 if (err)
a918dcfecc36f8 Amjad Ouled-Ameur 2024-02-19 64 return dev_err_probe(dev, err, "DMA mask error\n");
a918dcfecc36f8 Amjad Ouled-Ameur 2024-02-19 65
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 66) mdrv = devm_kzalloc(dev, sizeof(*mdrv), GFP_KERNEL);
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 67) if (!mdrv)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 68) return -ENOMEM;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 69)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 70) mdrv->mdev = komeda_dev_create(dev);
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 71) if (IS_ERR(mdrv->mdev)) {
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 72) err = PTR_ERR(mdrv->mdev);
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 73) goto free_mdrv;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 74) }
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 75)
efb46508851874 james qian wang (Arm Technology China 2019-12-12 76) pm_runtime_enable(dev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 77) if (!pm_runtime_enabled(dev))
efb46508851874 james qian wang (Arm Technology China 2019-12-12 78) komeda_dev_resume(mdrv->mdev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 79)
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 80) mdrv->kms = komeda_kms_attach(mdrv->mdev);
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 81) if (IS_ERR(mdrv->kms)) {
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 82) err = PTR_ERR(mdrv->kms);
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 83) goto destroy_mdev;
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 84) }
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 85)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 86) dev_set_drvdata(dev, mdrv);
dd5891e7a4099e Thomas Zimmermann 2024-09-24 @87 drm_client_setup(&mdrv->kms->base, NULL);
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 88)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 89) return 0;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 90)
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 91) destroy_mdev:
efb46508851874 james qian wang (Arm Technology China 2019-12-12 92) if (pm_runtime_enabled(dev))
efb46508851874 james qian wang (Arm Technology China 2019-12-12 93) pm_runtime_disable(dev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 94) else
efb46508851874 james qian wang (Arm Technology China 2019-12-12 95) komeda_dev_suspend(mdrv->mdev);
efb46508851874 james qian wang (Arm Technology China 2019-12-12 96)
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 97) komeda_dev_destroy(mdrv->mdev);
61f1c4a8ab7575 james qian wang (Arm Technology China 2019-01-03 98)
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 99) free_mdrv:
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 100) devm_kfree(dev, mdrv);
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 101) return err;
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 102) }
26bd43a7599639 james qian wang (Arm Technology China 2019-01-03 103)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list