mbox series

[0/6] Expand display core documentation

Message ID 20211125153830.1352994-1-Rodrigo.Siqueira@amd.com (mailing list archive)
Headers show
Series Expand display core documentation | expand

Message

Rodrigo Siqueira Jordao Nov. 25, 2021, 3:38 p.m. UTC
Display Core (DC) is one of the components under amdgpu, and it has
multiple features directly related to the KMS API. Unfortunately, we
don't have enough documentation about DC in the upstream, which makes
the life of some external contributors a little bit more challenging.
For these reasons, this patchset reworks part of the DC documentation
and introduces a new set of details on how the display core works on DCN
IP. Another improvement that this documentation effort tries to bring is
making explicit some of our hardware-specific details to guide
user-space developers better.

In my view, it is easier to review this series if you apply it in your
local kernel and build the HTML version (make htmldocs). I'm suggesting
this approach because I added a few SVG diagrams that will be easier to
see in the HTML version. If you cannot build the documentation, try to
open the SVG images while reviewing the content. In summary, in this
series, you will find:

1. Patch 1: Re-arrange of display core documentation. This is
   preparation work for the other patches, but it is also a way to expand
   this documentation.
2. Patch 2 to 4: Document some common debug options related to display.
3. Patch 5: This patch provides an overview of how our display core next
   works and a brief explanation of each component.
4. Patch 6: We use a lot of acronyms in our driver; for this reason, we
   exposed a glossary with common terms used by display core.

Please let us know what you think we can improve in this series and what
kind of content you want to see for the next series.

Thanks
Siqueira

Rodrigo Siqueira (6):
  Documentation/gpu: Reorganize DC documentation
  Documentation/gpu: Document amdgpu_dm_visual_confirm debugfs entry
  Documentation/gpu: Document pipe split visual confirmation
  Documentation/gpu: How to collect DTN log
  Documentation/gpu: Add basic overview of DC pipeline
  Documentation/gpu: Add DC glossary

 Documentation/gpu/amdgpu-dc.rst               |   74 --
 .../gpu/amdgpu-dc/amdgpu-dc-debug.rst         |   77 ++
 Documentation/gpu/amdgpu-dc/amdgpu-dc.rst     |   29 +
 .../gpu/amdgpu-dc/amdgpu-dcn-overview.rst     |  168 +++
 Documentation/gpu/amdgpu-dc/amdgpu-dm.rst     |   42 +
 .../gpu/amdgpu-dc/config_example.svg          |  414 ++++++
 Documentation/gpu/amdgpu-dc/dc-glossary.rst   |  257 ++++
 .../gpu/amdgpu-dc/dc_pipeline_overview.svg    | 1125 +++++++++++++++++
 .../gpu/amdgpu-dc/global_sync_vblank.svg      |  485 +++++++
 Documentation/gpu/drivers.rst                 |    2 +-
 10 files changed, 2598 insertions(+), 75 deletions(-)
 delete mode 100644 Documentation/gpu/amdgpu-dc.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/amdgpu-dc-debug.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/amdgpu-dc.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/amdgpu-dcn-overview.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/amdgpu-dm.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/config_example.svg
 create mode 100644 Documentation/gpu/amdgpu-dc/dc-glossary.rst
 create mode 100644 Documentation/gpu/amdgpu-dc/dc_pipeline_overview.svg
 create mode 100644 Documentation/gpu/amdgpu-dc/global_sync_vblank.svg