Skip to content

Commit 1200bce

Browse files
Rodrigo Siqueiraalexdeucher
authored andcommitted
Documentation/gpu: Adjust DCN documentation paths
When building the kernel-doc, it has the following complaints: Documentation/gpu/amdgpu/display/dcn-blocks:23: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h:3: WARNING: Duplicate C declaration, also defined at gpu/amdgpu/display/dcn-blocks:3. Declaration is '.. c:struct:: surface_flip_registers'. Documentation/gpu/amdgpu/display/dcn-blocks:35: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h:3: WARNING: Duplicate C declaration, also defined at gpu/amdgpu/display/dcn-blocks:3. Declaration is '.. c:struct:: surface_flip_registers'. This error happened due to a copy-and-paste where the same file path was duplicated multiple times to a different set of blocks. This commit addresses this issue by using the correct file path. Cc: Alex Deucher <[email protected]> Acked-by: Alex Deucher <[email protected]> Reported-by: Stephen Rothwell <[email protected]> Signed-off-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 9947dbf commit 1200bce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/gpu/amdgpu/display/dcn-blocks.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ and the code documentation when it is automatically generated.
88
DCHUBBUB
99
--------
1010

11-
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
11+
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
1212
:doc: overview
1313

14-
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
14+
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h
1515
:internal:
1616

1717
HUBP
@@ -26,10 +26,10 @@ HUBP
2626
DPP
2727
---
2828

29-
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
29+
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
3030
:doc: overview
3131

32-
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
32+
.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h
3333
:internal:
3434

3535
MPC

0 commit comments

Comments
 (0)