2021-05-04 23:46:51

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

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

At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:633:13: warning: 'dm_dmub_outbox1_low_irq' defined but not used [-Wunused-function]
633 | static void dm_dmub_outbox1_low_irq(void *interrupt_params)
| ^~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

77a49c458931 ("drm/amd/display: Support for DMUB AUX")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2021-05-05 03:11:09

by Stephen Rothwell

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the amdgpu tree

Hi Jude,

On Wed, 5 May 2021 01:08:48 +0000 "Shih, Jude" <[email protected]> wrote:
>
> This function is used as below. This commit also passed the auto
> test. Is there anything different between our evnrionment?

The function is defined unconditionally, but only used if
CONFIG_DRM_AMD_DC_DCN is defined.
--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature