Re: linux-next: build failure after merge of the drm-misc tree

Thomas Zimmermann
2021-05-12T20:34:44Z

[-- Attachment #1.1: Type: text/plain, Size: 1269 bytes --]

Hi

Am 12.05.21 um 07:00 schrieb Stephen Rothwell:
> Hi all,
>
> After merging the drm-misc tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
>
> drivers/gpu/drm/nouveau/nouveau_connector.c: In function 'nouveau_connector_of_detect':
> drivers/gpu/drm/nouveau/nouveau_connector.c:463:59: error: 'struct drm_device' has no member named 'pdev'; did you mean 'dev'?
> 463 | struct device_node *cn, *dn = pci_device_to_OF_node(dev->pdev);
> | ^~~~
> | dev
>
> Caused by commit
>
> b347e04452ff ("drm: Remove pdev field from struct drm_device")
>
> I have reverted that commit for today.
>

Thanks for reporting. pdev is gone, but the references are sometimes
hard to find. You may want to undo the revert and try the fix at [1].
The patch should hit drm-misc-next ASAP.

Best regards
Thomas

[1]
https://lore.kernel.org/dri-devel/20210512185527.26050-1-tzimmermann@suse.de/T/#u

--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]