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

From: Thomas Zimmermann <[email-masked]>
Date: Wed, 12 May 2021 20:58:25 +0200

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/[email-masked]/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