Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Feb 11, 2020 – Feb 12, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

ERROR: "get_num_odm_splits" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!

Presumably caused by commit

5bf24270d1cc ("drm/amd/display: add odm split logic to scaling calculations")

I used the amdgpu tree from next-20200211 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

First of all, thanks for your report

Quoted 10 lines · Stephen Rothwell

Hi all,

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

ERROR: "get_num_odm_splits" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!

Presumably caused by commit

5bf24270d1cc ("drm/amd/display: add odm split logic to scaling calculations")

Today I managed to reproduce the issue with 'make allmodconfig', now I'm trying to understand why my .config file did not trigger this issue. At first glance looks like 'make allmodconfig' does not add 'CONFIG_DRM_AMD_DC_DCN=y' as a result files under 'drivers/gpu/drm/amd/display/dc/' directory does not get compiled which includes the file that defines 'get_num_odm_splits'. I'm still looking at it...

Thanks

Quoted 5 lines

I used the amdgpu tree from next-20200211 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 3 lines
Rodrigo Siqueira
Software Engineer, Advanced Micro Devices (AMD)
https://siqueira.tech