linux-next: build failure after merge of the amdgpu tree

From: Stephen Rothwell
Date: Wed Jun 15 2022 - 00:38:10 EST


Hi all,

After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c:1835:13: error: 'remove_hpo_dp_link_enc_from_ctx' defined but not used [-Werror=unused-function]
1835 | static void remove_hpo_dp_link_enc_from_ctx(struct resource_context *res_ctx,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

4e1db0119c64 ("Revert "drm/amdgpu/display: Protect some functions with CONFIG_DRM_AMD_DC_DCN"")

That function is only used when CONFIG_DRM_AMD_DC_DCN is set.

I have reverted that commit for today.

Could you please add an x86_64 allmodconfig build to your CI?

--
Cheers,
Stephen Rothwell

Attachment: pgpyaVarP_7PX.pgp
Description: OpenPGP digital signature