[Intel-gfx] linux-next: build failure after merge of the drm-misc tree

Thomas Zimmermann tzimmermann at suse.de
Wed May 12 18:58:25 UTC 2021


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20210512/da3a68e0/attachment.sig>


More information about the Intel-gfx mailing list