linux-next: build failure after merge of the amdgpu tree
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?
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 8 lines · Stephen Rothwell
Hi all,
After merging the amdgpu tree, today's linux-next build (
x86_64allmodconfig) 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(structresource_context*res_ctx,
Quoted 8 lines
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~cc1: all warnings being treated as errors
Caused by commit
4e1db0119c64("Revert "drm/amdgpu/display: Protect some functions withCONFIG_DRM_AMD_DC_DCN"")That function is only used when
CONFIG_DRM_AMD_DC_DCNis set.
Sorry, I had the fix in my tree, but forgot to push it. It's there now.
Alex
Quoted 8 lines
I have reverted that commit for today.
Could you please add an
x86_64allmodconfig build to your CI?--
Cheers,
Stephen Rothwell