Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 6 messages Mar 19, 2025 – Apr 3, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:373: warning: Enum value 'DC_HDCP_LC_ENABLE_SW_FALLBACK' not described in enum 'DC_DEBUG_MASK'

Introduced by commit

84ff5895399c ("drm/amdgpu: Add debug masks for HDCP LC FW testing")

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

[AMD Official Use Only - AMD Internal Distribution Only]

Hi,

I don't understand this warning, the enum it cannot find has been introduced in the same commit immediately below:

+ /**

+        * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
+        * path failure, retry using legacy SW path.
+        */

+ DC_HDCP_LC_ENABLE_SW_FALLBACK = 0x100000,

Could it perhaps be about the missing colon before "If set"?

Best regards,
Dominik Kaszewski
Senior Software Engineer
SW - Display NPI

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Wednesday, March 19, 2025 10:35 AM
To: Alex Deucher <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Kaszewski, Dominik <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

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

drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:373: warning: Enum value 'DC_HDCP_LC_ENABLE_SW_FALLBACK' not described in enum 'DC_DEBUG_MASK'

Introduced by commit

84ff5895399c ("drm/amdgpu: Add debug masks for HDCP LC FW testing")

--
Cheers,
Stephen Rothwell

#2 lore raw

Hi Dominik,

Quoted 2 lines · Dominik

Could it perhaps be about the missing colon before "If set"?

That would be my guess.

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

[AMD Official Use Only - AMD Internal Distribution Only]

Hi,

I have sent out a patch adding the missing colon.

Best regards,
Dominik Kaszewski
Senior Software Engineer
SW - Display NPI

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Wednesday, March 19, 2025 12:01 PM
To: Kaszewski, Dominik <[email protected]>
Cc: Alex Deucher <[email protected]>; Deucher, Alexander <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: Re: linux-next: build warning after merge of the amdgpu tree

Hi Dominik,

Quoted 2 lines · Dominik

Could it perhaps be about the missing colon before "If set"?

That would be my guess.

--
Cheers,
Stephen Rothwell

#4 lore raw
In reply to Kaszewski, Dominik

Hi Dominik,

Quoted 13 lines · Dominik

[AMD Official Use Only - AMD Internal Distribution Only]

Hi,

I don't understand this warning, the enum it cannot find has been introduced in the same commit immediately below:

(quoted diff) +5 -0
+       /**
+        * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
+        * path failure, retry using legacy SW path.
+        */
+       DC_HDCP_LC_ENABLE_SW_FALLBACK = 0x100000,
Quoted 1 line

Could it perhaps be about the missing colon before "If set"?

Yes, probably could be.

Quoted 11 lines

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Wednesday, March 19, 2025 10:35 AM
To: Alex Deucher <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Kaszewski, Dominik <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

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

Quoted 7 lines

drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:373: warning: Enum value 'DC_HDCP_LC_ENABLE_SW_FALLBACK' not described in enum 'DC_DEBUG_MASK'

Introduced by commit

84ff5895399c ("drm/amdgpu: Add debug masks for HDCP LC FW testing")

So, I am still seeing this warning and that commit is now in Linus' tree.

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

[AMD Official Use Only - AMD Internal Distribution Only]

Hi Stephen,

I have sent out a patch adding a missing semicolon a month ago. I did not get any notification that it got merged, I am not familiar with AMD's upstreaming process.

+@Pillai, Aurabindo

Best regards,
Dominik Kaszewski
Senior Software Engineer
SW - Display NPI

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Thursday, April 3, 2025 8:02 AM
To: Kaszewski, Dominik <[email protected]>
Cc: Alex Deucher <[email protected]>; Deucher, Alexander <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: Re: linux-next: build warning after merge of the amdgpu tree

Hi Dominik,

Quoted 13 lines · Dominik

[AMD Official Use Only - AMD Internal Distribution Only]

Hi,

I don't understand this warning, the enum it cannot find has been introduced in the same commit immediately below:

(quoted diff) +5 -0
+       /**
+        * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
+        * path failure, retry using legacy SW path.
+        */
+       DC_HDCP_LC_ENABLE_SW_FALLBACK = 0x100000,
Quoted 1 line

Could it perhaps be about the missing colon before "If set"?

Yes, probably could be.

Quoted 11 lines

-----Original Message-----
From: Stephen Rothwell <[email protected]>
Sent: Wednesday, March 19, 2025 10:35 AM
To: Alex Deucher <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Kaszewski, Dominik <[email protected]>; Linux Kernel Mailing List <[email protected]>; Linux Next Mailing List <[email protected]>
Subject: linux-next: build warning after merge of the amdgpu tree

Hi all,

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

Quoted 7 lines

drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:369: warning: Incorrect use of kernel-doc format: * @DC_HDCP_LC_ENABLE_SW_FALLBACK If set, upon HDCP Locality Check FW
drivers/gpu/drm/amd/include/amd_shared.h:373: warning: Enum value 'DC_HDCP_LC_ENABLE_SW_FALLBACK' not described in enum 'DC_DEBUG_MASK'

Introduced by commit

84ff5895399c ("drm/amdgpu: Add debug masks for HDCP LC FW testing")

So, I am still seeing this warning and that commit is now in Linus' tree.

--
Cheers,
Stephen Rothwell