]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Documentation/amdgpu: Fix duplicate declaration
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Mon, 15 Jul 2024 22:57:47 +0000 (16:57 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Jul 2024 15:45:22 +0000 (11:45 -0400)
commit4b0eb9ce15912ec303cc515888691b6ec6c32196
tree85dd96b60f6a1b9c7282ebebd3b6d974803720e0
parent91ca34cba3b6a13df6304f80bbcfdf6cad328c2b
Documentation/amdgpu: Fix duplicate declaration

Address the below kernel doc warning:

Documentation/gpu/amdgpu/display/display-manager:134:
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:3: WARNING: Duplicate C
declaration, also defined at gpu/amdgpu/display/dcn-blocks:101.
Declaration is '.. c:struct:: mpcc_blnd_cfg'.
Documentation/gpu/amdgpu/display/display-manager:146:
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h:3: WARNING: Duplicate C
declaration, also defined at gpu/amdgpu/display/dcn-blocks:3.
Declaration is '.. c:enum:: mpcc_alpha_blend_mode'.

To address the above warnings, this commit uses the 'no-identifiers'
option in the dcn-blocks to avoid duplication with the previous use of
this function doc in the display-manager file. Finally, replaces the
deprecated ':function:' in favor of ':identifiers:'.

Cc: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Documentation/gpu/amdgpu/display/dcn-blocks.rst
Documentation/gpu/amdgpu/display/display-manager.rst