Expand and improve AMDGPU documentation
Subsystems (5)
v2 cover Expand and improve AMDGPU documentation
This patchset improves how the AMDGPU display documentation is organized, expands the kernel-doc to extract information from the source, and adds more context about DC workflow. Finally, at the end of this series, we also introduce a contribution section for those interested in contributing to the display code.
Changes since V1:
- Remove unprecise information about the DC process.
- Expand the contribution list.
- Rebase.
Thanks
Siqueira
Rodrigo Siqueira (8):
Documentation/gpu: Add basic page for HUBP Documentation/gpu: Add simple doc page for DCHUBBUB Documentation/gpu: Add kernel doc entry for DPP Documentation/gpu: Add kernel doc entry for MPC Documentation/gpu: Add entry for OPP in the kernel doc Documentation/gpu: Add entry for the DIO component Documentation/gpu: Add an explanation about the DC weekly patches Documentation/gpu: Introduce a simple contribution list for display
code
.../gpu/amdgpu/display/dcn-blocks.rst | 78 ++++++ .../amdgpu/display/display-contributing.rst | 168 ++++++++++++ .../gpu/amdgpu/display/display-manager.rst | 3 - Documentation/gpu/amdgpu/display/index.rst | 78 +++++- drivers/gpu/drm/amd/display/TODO | 110 -------- .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 ++ drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++ .../amd/display/dc/link/hwss/link_hwss_dio.h | 10 + 11 files changed, 560 insertions(+), 198 deletions(-) create mode 100644 Documentation/gpu/amdgpu/display/dcn-blocks.rst create mode 100644 Documentation/gpu/amdgpu/display/display-contributing.rst delete mode 100644 drivers/gpu/drm/amd/display/TODO
Signature · 1 line
2.43.0
PATCH v2 1/8 Documentation/gpu: Add basic page for HUBP
Create the HUBP documentation page and add the doc references to extract the HUBP code documentation.
--- .../gpu/amdgpu/display/dcn-blocks.rst | 18 ++++++++++++++++++ Documentation/gpu/amdgpu/display/index.rst | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 ++++++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 Documentation/gpu/amdgpu/display/dcn-blocks.rst
Documentation/gpu/amdgpu/display/dcn-blocks.rst new file +18 -0
@@ -0,0 +1,18 @@ +========== +DCN Blocks +========== + +In this section, you will find some extra details about some of the DCN blocks +and the code documentation when it is automatically generated. + +HUBP +---- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :internal:
Documentation/gpu/amdgpu/display/index.rst +1 -0
@@ -28,5 +28,6 @@ table of content: display-manager.rst dc-debug.rst dcn-overview.rst + dcn-blocks.rst mpo-overview.rst dc-glossary.rst
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h +12 -1
@@ -26,13 +26,24 @@#ifndef __DAL_HUBP_H__#define __DAL_HUBP_H__ +/** +* DOC: overview +* +* Display Controller Hub (DCHUB) is the gateway between the Scalable Data Port +* (SDP) and DCN. This component has multiple features, such as memory +* arbitration, rotation, and cursor manipulation. +* +* There is one HUBP allocated per pipe, which fetches data and converts +* different pixel formats (i.e. ARGB8888, NV12, etc) into linear, interleaved +* and fixed-depth streams of pixel data. +*/ +#include "mem_input.h" #include "cursor_reg_cache.h" #define OPP_ID_INVALID 0xf#define MAX_TTU 0xffffff -enum cursor_pitch {CURSOR_PITCH_64_PIXELS =0 , CURSOR_PITCH_128_PIXELS,
Signature · 1 line
2.43.0
PATCH v2 2/8 Documentation/gpu: Add simple doc page for DCHUBBUB
In reply to Rodrigo SiqueiraEnable the documentation to extract code documentation from dchubbub.h file.
--- Documentation/gpu/amdgpu/display/dcn-blocks.rst | 12 ++++++++++++ drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 ++++++ 2 files changed, 18 insertions(+)
Documentation/gpu/amdgpu/display/dcn-blocks.rst +12 -0
@@ -5,6 +5,18 @@ DCN Blocks In this section, you will find some extra details about some of the DCN blocks and the code documentation when it is automatically generated. +DCHUBBUB +-------- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :internal: + HUBP ----
drivers/gpu/drm/amd/display/dc/inc/hw/dchubbub.h +6 -0
@@ -26,6 +26,12 @@#ifndef __DAL_DCHUBBUB_H__#define __DAL_DCHUBBUB_H__ +/** +* DOC: overview +* +* There is only one common DCHUBBUB. It contains the common request and return +* blocks for the Data Fabric Interface that are not clock/power gated. +*/ enum dcc_control { dcc_control__256_256_xxx,
Signature · 1 line
2.43.0
PATCH v2 3/8 Documentation/gpu: Add kernel doc entry for DPP
In reply to Rodrigo SiqueiraThis commit introduces basic DPP information and the struct scan for code documentation.
--- .../gpu/amdgpu/display/dcn-blocks.rst | 12 +++++++++ drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 +++++++++++++++++++ 2 files changed, 38 insertions(+)
Documentation/gpu/amdgpu/display/dcn-blocks.rst +12 -0
@@ -28,3 +28,15 @@ HUBP .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h :internal: + +DPP +--- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h + :internal:
drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h +26 -0
@@ -27,6 +27,32 @@#ifndef __DAL_DPP_H__#define __DAL_DPP_H__ +/** +* DOC: overview +* +* The DPP (Display Pipe and Plane) block is the unified display data +* processing engine in DCN for processing graphic or video data on per DPP +* rectangle base. This rectangle can be a part of SLS (Single Large Surface), +* or a layer to be blended with other DPP, or a rectangle associated with a +* display tile. +* +* It provides various functions including: +* - graphic color keyer +* - graphic cursor compositing +* - graphic or video image source to destination scaling +* - image sharping +* - video format conversion from 4:2:0 or 4:2:2 to 4:4:4 +* - Color Space Conversion +* - Host LUT gamma adjustment +* - Color Gamut Remap +* - brightness and contrast adjustment. +* +* DPP pipe consists of Converter and Cursor (CNVC), Scaler (DSCL), Color +* Management (CM), Output Buffer (OBUF) and Digital Bypass (DPB) module +* connected in a video/graphics pipeline. +*/ + +#include "transform.h" #include "cursor_reg_cache.h"
Signature · 1 line
2.43.0
PATCH v2 4/8 Documentation/gpu: Add kernel doc entry for MPC
In reply to Rodrigo SiqueiraThis commit adds a kernel-doc entry for the MPC block. Since it enabled the kernel-doc to parse some of the documentation in the mpc.h file, fixing some of the comments was required.
--- .../gpu/amdgpu/display/dcn-blocks.rst | 12 + .../gpu/amdgpu/display/display-manager.rst | 3 - drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ 3 files changed, 185 insertions(+), 80 deletions(-)
Documentation/gpu/amdgpu/display/dcn-blocks.rst +12 -0
@@ -40,3 +40,15 @@ DPP .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h :internal: + +MPC +--- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h + :internal:
Documentation/gpu/amdgpu/display/display-manager.rst +0 -3
@@ -131,9 +131,6 @@ The DRM blend mode and its elements are then mapped by AMDGPU display manager (DM) to program the blending configuration of the Multiple Pipe/Plane Combined (MPC), as follows: -.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h - :doc: mpc-overview - .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h :functions: mpcc_blnd_cfg
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h +173 -77
346 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH v2 5/8 Documentation/gpu: Add entry for OPP in the kernel doc
In reply to Rodrigo SiqueiraIntroduce OPP as part of the kernel documentation.
--- Documentation/gpu/amdgpu/display/dcn-blocks.rst | 12 ++++++++++++ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++++++++++++++++ 2 files changed, 28 insertions(+)
Documentation/gpu/amdgpu/display/dcn-blocks.rst +12 -0
@@ -52,3 +52,15 @@ MPC .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h :internal: + +OPP +--- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/opp.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/opp.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/opp.h + :internal:
drivers/gpu/drm/amd/display/dc/inc/hw/opp.h +16 -0
@@ -23,6 +23,22 @@* */ +/** +* DOC: overview +* +* The Output Plane Processor (OPP) block groups have functions that format +* pixel streams such that they are suitable for display at the display device. +* The key functions contained in the OPP are: +* +* - Adaptive Backlight Modulation (ABM) +* - Formatter (FMT) which provide pixel-by-pixel operations for format the +* incoming pixel stream. +* - Output Buffer that provide pixel replication, and overlapping. +* - Interface between MPC and OPTC. +* - Clock and reset generation. +* - CRC generation. +*/ +#ifndef __DAL_OPP_H__#define __DAL_OPP_H__
Signature · 1 line
2.43.0
PATCH v2 6/8 Documentation/gpu: Add entry for the DIO component
In reply to Rodrigo Siqueira--- Documentation/gpu/amdgpu/display/dcn-blocks.rst | 12 ++++++++++++ .../gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h | 10 ++++++++++ 2 files changed, 22 insertions(+)
Documentation/gpu/amdgpu/display/dcn-blocks.rst +12 -0
@@ -64,3 +64,15 @@ OPP .. kernel-doc:: drivers/gpu/drm/amd/display/dc/inc/hw/opp.h :internal: + +DIO +--- + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h + :doc: overview + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h + :export: + +.. kernel-doc:: drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h + :internal:
drivers/gpu/drm/amd/display/dc/link/hwss/link_hwss_dio.h +10 -0
@@ -22,6 +22,16 @@* Authors: AMD * */ + +/** +* DOC: overview +* +* Display Input Output (DIO), is the display input and output unit in DCN. It +* includes output encoders to support different display output, like +* DisplayPort, HDMI, DVI interface, and others. It also includes the control +* and status channels for these interfaces. +*/ +#ifndef __LINK_HWSS_DIO_H__#define __LINK_HWSS_DIO_H__
Signature · 1 line
2.43.0
PATCH v2 7/8 Documentation/gpu: Add an explanation about the DC weekly patches
In reply to Rodrigo SiqueiraThis commit introduces some explanation about the display team validation.
Changes since V1:
- Remove unprecise information about the DC process for now, can be added later on.
- Jani: Fix bullets
--- Documentation/gpu/amdgpu/display/index.rst | 76 ++++++++++++++++++++-- 1 file changed, 69 insertions(+), 7 deletions(-)
Documentation/gpu/amdgpu/display/index.rst +69 -7
@@ -7,18 +7,80 @@ drm/amd/display - Display Core (DC) AMD display engine is partially shared with other operating systems; for this reason, our Display Core Driver is divided into two pieces: -1. **Display Core (DC)** contains the OS-agnostic components. Things like +#. **Display Core (DC)** contains the OS-agnostic components. Things like hardware programming and resource management are handled here. -2. **Display Manager (DM)** contains the OS-dependent components. Hooks to the - amdgpu base driver and DRM are implemented here. +#. **Display Manager (DM)** contains the OS-dependent components. Hooks to the + amdgpu base driver and DRM are implemented here. For example, you can check + display/amdgpu_dm/ folder. + +------------------ +DC Code validation +------------------ + +Maintaining the same code base across multiple OSes requires a lot of +synchronization effort between repositories and exhaustive validation. In the +DC case, we maintain a tree to centralize code from different parts. The shared +repository has integration tests with our Internal Linux CI farm, and we run a +comprehensive set of IGT tests in various AMD GPUs/APUs (mostly recent dGPUs +and APUs). Our CI also checks ARM64/32, PPC64/32, and x86_64/32 compilation +with DCN enabled and disabled. + +When we upstream a new feature or some patches, we pack them in a patchset with +the prefix **DC Patches for <DATE>**, which is created based on the latest +`amd-staging-drm-next <https://gitlab.freedesktop.org/agd5f/linux>`_. All of +those patches are under a DC version tested as follows: + +* Ensure that every patch compiles and the entire series pass our set of IGT + test in different hardware. +* Prepare a branch with those patches for our validation team. If there is an + error, a developer will debug as fast as possible; usually, a simple bisect + in the series is enough to point to a bad change, and two possible actions + emerge: fix the issue or drop the patch. If it is not an easy fix, the bad + patch is dropped. +* Finally, developers wait a few days for community feedback before we merge + the series. + +It is good to stress that the test phase is something that we take extremely +seriously, and we never merge anything that fails our validation. Follows an +overview of our test set: + +#. Manual test + * Multiple Hotplugs with DP and HDMI. + * Stress test with multiple display configuration changes via the user interface. + * Validate VRR behaviour. + * Check PSR. + * Validate MPO when playing video. + * Test more than two displays connected at the same time. + * Check suspend/resume. + * Validate FPO. + * Check MST. +#. Automated test + * IGT tests in a farm with GPUs and APUs that support DCN and DCE. + * Compilation validation with the latest GCC and Clang from LTS distro. + * Cross-compilation for PowerPC 64/32, ARM 64/32, and x86 32. + +In terms of test setup for CI and manual tests, we usually use: + +#. The latest Ubuntu LTS. +#. In terms of userspace, we only use fully updated open-source components + provided by the distribution official package manager. +#. Regarding IGT, we use the latest code from the upstream. +#. Most of the manual tests are conducted in the GNome but we also use KDE. + +Notice that someone from our test team will always reply to the cover letter +with the test report. + +-------------- +DC Information +-------------- The display pipe is responsible for "scanning out" a rendered frame from the GPU memory (also called VRAM, FrameBuffer, etc.) to a display. In other words, it would: -1. Read frame information from memory; -2. Perform required transformation; -3. Send pixel data to sink devices. +#. Read frame information from memory; +#. Perform required transformation; +#. Send pixel data to sink devices. If you want to learn more about our driver details, take a look at the below table of content:
@@ -26,8 +88,8 @@ table of content: .. toctree:: display-manager.rst - dc-debug.rst dcn-overview.rst dcn-blocks.rst mpo-overview.rst + dc-debug.rst dc-glossary.rst
Signature · 1 line
2.43.0
PATCH v2 8/8 Documentation/gpu: Introduce a simple contribution list for display code
In reply to Rodrigo SiqueiraThis commit adds a contribution list for display under the kernel documentation with some first suggestions. It also drops an old TODO list from the display folder.
--- .../amdgpu/display/display-contributing.rst | 168 ++++++++++++++++++ Documentation/gpu/amdgpu/display/index.rst | 1 + drivers/gpu/drm/amd/display/TODO | 110 ------------ 3 files changed, 169 insertions(+), 110 deletions(-) create mode 100644 Documentation/gpu/amdgpu/display/display-contributing.rst delete mode 100644 drivers/gpu/drm/amd/display/TODO
Documentation/gpu/amdgpu/display/display-contributing.rst new file +168 -0
@@ -0,0 +1,168 @@ +.. _display_todos: + +============================== +AMDGPU - Display Contributions +============================== + +First of all, if you are here, you probably want to give some technical +contribution to the display code, and for that, we say thank you :) + +This page summarizes some of the issues you can help with; keep in mind that +this is a static page, and it is always a good idea to try to reach developers +in the amdgfx or some of the maintainers. Finally, this page follows the DRM +way of creating a TODO list; for more information, check +'Documentation/gpu/todo.rst'. + +Gitlab issues +============= + +Users can report issues associated with AMD GPUs at: + +- https://gitlab.freedesktop.org/drm/amd + +Usually, we try to add a proper label to all new tickets to make it easy to +filter issues. If you can reproduce any problem, you could help by adding more +information or fixing the issue. + +Level: diverse + +IGT +=== + +`IGT`_ provides many integration tests that can be run on your GPU. We always +want to pass a large set of tests to increase the test coverage in our CI. If +you wish to contribute to the display code but are unsure where a good place +is, we recommend you run all IGT tests and try to fix any failure you see in +your hardware. Keep in mind that this failure can be an IGT problem or a kernel +issue; it is necessary to analyze case-by-case. + +Level: diverse + +.. _IGT: https://gitlab.freedesktop.org/drm/igt-gpu-tools + +Compilation +=========== + +Fix compilation warnings +------------------------ + +Enable the W1 or W2 warning level in the kernel compilation and try to fix the +issues on the display side. + +Level: Starter + +Fix compilation issues when using um architecture +------------------------------------------------- + +Linux has a User-mode Linux (UML) feature, and the kernel can be compiled to +the **um** architecture. Compiling for **um** can bring multiple advantages +from the test perspective. We currently have some compilation issues in this +area that we need to fix. + +Level: Intermediate + +Code Refactor +============= + +Add prefix to DC functions to improve the debug with ftrace +----------------------------------------------------------- + +The Ftrace debug feature (check 'Documentation/trace/ftrace.rst') is a +fantastic way to check the code path when developers try to make sense of a +bug. Ftrace provides a filter mechanism that can be useful when the developer +has some hunch of which part of the code can cause the issue; for this reason, +if a set of functions has a proper prefix, it becomes easy to create a good +filter. Additionally, prefixes can improve stack trace readability. + +The DC code does not follow some prefix rules, which makes the Ftrace filter +more complicated and reduces the readability of the stack trace. If you want +something simple to start contributing to the display, you can make patches for +adding prefixes to DC functions. To create those prefixes, use part of the file +name as a prefix for all functions in the target file. Check the +'amdgpu_dm_crtc.c` and `amdgpu_dm_plane.c` for some references. However, we +strongly advise not to send huge patches changing these prefixes; otherwise, it +will be hard to review and test, which can generate second thoughts from +maintainers. Try small steps; in case of double, you can ask before you put in +effort. We recommend first looking at folders like dceXYZ, dcnXYZ, basics, +bios, core, clk_mgr, hwss, resource, and irq. + +Level: Starter + +Reduce code duplication +----------------------- + +AMD has an extensive portfolio with various dGPUs and APUs that amdgpu +supports. To maintain the new hardware release cadence, DCE/DCN was designed in +a modular design, making the bring-up for new hardware fast. Over the years, +amdgpu accumulated some technical debt in the code duplication area. For this +task, it would be a good idea to find a tool that can discover code duplication +(including patterns) and use it as guidance to reduce duplications. + +Level: Intermediate + +Make atomic_commit_[check|tail] more readable +--------------------------------------------- + +The functions responsible for atomic commit and tail are intricate and +extensive. In particular `amdgpu_dm_atomic_commit_tail` is a long function and +could benefit from being split into smaller helpers. Improvements in this area +are more than welcome, but keep in mind that changes in this area will affect +all ASICs, meaning that refactoring requires a comprehensive verification; in +other words, this effort can take some time for validation. + +Level: Advanced + +Documentation +============= + +Expand kernel-doc +----------------- + +Many DC functions do not have a proper kernel-doc; understanding a function and +adding documentation is a great way to learn more about the amdgpu driver and +also leave an outstanding contribution to the entire community. + +Level: Starter + +Beyond AMDGPU +============= + +AMDGPU provides features that are not yet enabled in the userspace. This +section highlights some of the coolest display features, which could be enabled +with the userspace developer helper. + +Enable underlay +--------------- + +AMD display has this feature called underlay (which you can read more about at +'Documentation/GPU/amdgpu/display/mpo-overview.rst') which is intended to +save power when playing a video. The basic idea is to put a video in the +underlay plane at the bottom and the desktop in the plane above it with a hole +in the video area. This feature is enabled in ChromeOS, and from our data +measurement, it can save power. + +Level: Unknown + +Adaptive Backlight Modulation (ABM) +----------------------------------- + +ABM is a feature that adjusts the display panel's backlight level and pixel +values depending on the displayed image. This power-saving feature can be very +useful when the system starts to run off battery; since this will impact the +display output fidelity, it would be good if this option was something that +users could turn on or off. + +Level: Unknown + + +HDR & Color management & VRR +---------------------------- + +HDR, Color Management, and VRR are huge topics and it's hard to put these into +concise ToDos. If you are interested in this topic, we recommend checking some +blog posts from the community developers to better understand some of the +specific challenges and people working on the subject. If anyone wants to work +on some particular part, we can try to help with some basic guidance. Finally, +keep in mind that we already have some kernel-doc in place for those areas. + +Level: Unknown
Documentation/gpu/amdgpu/display/index.rst +1 -0
@@ -92,4 +92,5 @@ table of content: dcn-blocks.rst mpo-overview.rst dc-debug.rst + display-contributing.rst dc-glossary.rst
drivers/gpu/drm/amd/display/TODO deleted +0 -110
110 lines not on this page · raw message
Signature · 1 line
2.43.0
Quoted 37 lines · Rodrigo Siqueira
This patchset improves how the AMDGPU display documentation is organized, expands the kernel-doc to extract information from the source, and adds more context about DC workflow. Finally, at the end of this series, we also introduce a contribution section for those interested in contributing to the display code.
Changes since V1:
- Remove unprecise information about the DC process.
- Expand the contribution list.
- Rebase.Thanks
SiqueiraRodrigo Siqueira (8):
Documentation/gpu: Add basic page for HUBPDocumentation/gpu: Add simple doc page for DCHUBBUBDocumentation/gpu: Add kernel doc entry for DPPDocumentation/gpu: Add kernel doc entry for MPCDocumentation/gpu: Add entry for OPP in the kernel docDocumentation/gpu: Add entry for the DIO componentDocumentation/gpu: Add an explanation about the DC weekly patchesDocumentation/gpu: Introduce a simple contribution list for display
code.../gpu/amdgpu/display/dcn-blocks.rst | 78 ++++++ .../amdgpu/display/display-contributing.rst | 168 ++++++++++++ .../gpu/amdgpu/display/display-manager.rst | 3 - Documentation/gpu/amdgpu/display/index.rst | 78 +++++- drivers/gpu/drm/amd/display/TODO | 110 -------- .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 ++ drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++ .../amd/display/dc/link/hwss/link_hwss_dio.h | 10 + 11 files changed, 560 insertions(+), 198 deletions(-)
Quoted 4 lines
create mode 100644
Documentation/gpu/amdgpu/display/dcn-blocks.rstcreate mode 100644Documentation/gpu/amdgpu/display/display-contributing.rstdelete mode 100644drivers/gpu/drm/amd/display/TODO
Am 22.01.24 um 22:24 schrieb Rodrigo Siqueira:
Quoted 10 lines
This patchset improves how the AMDGPU display documentation is organized, expands the kernel-doc to extract information from the source, and adds more context about DC workflow. Finally, at the end of this series, we also introduce a contribution section for those interested in contributing to the display code.
Changes since V1:
- Remove unprecise information about the DC process.
- Expand the contribution list.
- Rebase.
Quoted 31 lines
Thanks
SiqueiraRodrigo Siqueira (8):
Documentation/gpu: Add basic page for HUBPDocumentation/gpu: Add simple doc page for DCHUBBUBDocumentation/gpu: Add kernel doc entry for DPPDocumentation/gpu: Add kernel doc entry for MPCDocumentation/gpu: Add entry for OPP in the kernel docDocumentation/gpu: Add entry for the DIO componentDocumentation/gpu: Add an explanation about the DC weekly patchesDocumentation/gpu: Introduce a simple contribution list for display
code.../gpu/amdgpu/display/dcn-blocks.rst | 78 ++++++ .../amdgpu/display/display-contributing.rst | 168 ++++++++++++ .../gpu/amdgpu/display/display-manager.rst | 3 - Documentation/gpu/amdgpu/display/index.rst | 78 +++++- drivers/gpu/drm/amd/display/TODO | 110 -------- .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 ++ drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++ .../amd/display/dc/link/hwss/link_hwss_dio.h | 10 + 11 files changed, 560 insertions(+), 198 deletions(-)create mode 100644
Documentation/gpu/amdgpu/display/dcn-blocks.rstcreate mode 100644Documentation/gpu/amdgpu/display/display-contributing.rstdelete mode 100644drivers/gpu/drm/amd/display/TODO
Quoted 6 lines · Rodrigo Siqueira
This patchset improves how the AMDGPU display documentation is organized, expands the kernel-doc to extract information from the source, and adds more context about DC workflow. Finally, at the end of this series, we also introduce a contribution section for those interested in contributing to the display code.
Quoted 7 lines
Changes since V1:
- Remove unprecise information about the DC process.
- Expand the contribution list.
- Rebase.Thanks
Siqueira
Series is:
Quoted 28 lines
Rodrigo Siqueira (8):
Documentation/gpu: Add basic page for HUBPDocumentation/gpu: Add simple doc page for DCHUBBUBDocumentation/gpu: Add kernel doc entry for DPPDocumentation/gpu: Add kernel doc entry for MPCDocumentation/gpu: Add entry for OPP in the kernel docDocumentation/gpu: Add entry for the DIO componentDocumentation/gpu: Add an explanation about the DC weekly patchesDocumentation/gpu: Introduce a simple contribution list for display
code.../gpu/amdgpu/display/dcn-blocks.rst | 78 ++++++ .../amdgpu/display/display-contributing.rst | 168 ++++++++++++ .../gpu/amdgpu/display/display-manager.rst | 3 - Documentation/gpu/amdgpu/display/index.rst | 78 +++++- drivers/gpu/drm/amd/display/TODO | 110 -------- .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 ++ drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++ .../amd/display/dc/link/hwss/link_hwss_dio.h | 10 + 11 files changed, 560 insertions(+), 198 deletions(-)create mode 100644
Documentation/gpu/amdgpu/display/dcn-blocks.rstcreate mode 100644Documentation/gpu/amdgpu/display/display-contributing.rstdelete mode 100644drivers/gpu/drm/amd/display/TODO
Signature · 1 line
Hamza
Quoted 12 lines · Hamza Mahfooz
Quoted 11 lines · Rodrigo Siqueira
This patchset improves how the AMDGPU display documentation is organized, expands the kernel-doc to extract information from the source, and adds more context about DC workflow. Finally, at the end of this series, we also introduce a contribution section for those interested in contributing to the display code.
Changes since V1:
- Remove unprecise information about the DC process.
- Expand the contribution list.
- Rebase.
Quoted 34 lines
Quoted 2 lines
Thanks
SiqueiraSeries is:
Acked-by Hamza Mahfooz <[email protected]>Quoted 28 lines
Rodrigo Siqueira (8):
Documentation/gpu: Add basic page for HUBPDocumentation/gpu: Add simple doc page for DCHUBBUBDocumentation/gpu: Add kernel doc entry for DPPDocumentation/gpu: Add kernel doc entry for MPCDocumentation/gpu: Add entry for OPP in the kernel docDocumentation/gpu: Add entry for the DIO componentDocumentation/gpu: Add an explanation about the DC weekly patchesDocumentation/gpu: Introduce a simple contribution list for display code.../gpu/amdgpu/display/dcn-blocks.rst | 78 ++++++ .../amdgpu/display/display-contributing.rst | 168 ++++++++++++ .../gpu/amdgpu/display/display-manager.rst | 3 - Documentation/gpu/amdgpu/display/index.rst | 78 +++++- drivers/gpu/drm/amd/display/TODO | 110 -------- .../gpu/drm/amd/display/dc/inc/hw/dchubbub.h | 6 + drivers/gpu/drm/amd/display/dc/inc/hw/dpp.h | 26 ++ drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 13 +- drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 250 ++++++++++++------ drivers/gpu/drm/amd/display/dc/inc/hw/opp.h | 16 ++ .../amd/display/dc/link/hwss/link_hwss_dio.h | 10 +
11 files changed, 560 insertions(+), 198 deletions(-)create mode 100644
Documentation/gpu/amdgpu/display/dcn-blocks.rstcreate mode 100644Documentation/gpu/amdgpu/display/display-contributing.rstdelete mode 100644drivers/gpu/drm/amd/display/TODO
Thanks!
Change pushed to amd-staging-drm-next.