amdgpu-dc.rst 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ===================================
  2. drm/amd/display - Display Core (DC)
  3. ===================================
  4. *placeholder - general description of supported platforms, what dc is, etc.*
  5. Because it is partially shared with other operating systems, the Display Core
  6. Driver is divided in two pieces.
  7. 1. **Display Core (DC)** contains the OS-agnostic components. Things like
  8. hardware programming and resource management are handled here.
  9. 2. **Display Manager (DM)** contains the OS-dependent components. Hooks to the
  10. amdgpu base driver and DRM are implemented here.
  11. It doesn't help that the entire package is frequently referred to as DC. But
  12. with the context in mind, it should be clear.
  13. When CONFIG_DRM_AMD_DC is enabled, DC will be initialized by default for
  14. supported ASICs. To force disable, set `amdgpu.dc=0` on kernel command line.
  15. Likewise, to force enable on unsupported ASICs, set `amdgpu.dc=1`.
  16. To determine if DC is loaded, search dmesg for the following entry:
  17. ``Display Core initialized with <version number here>``
  18. AMDgpu Display Manager
  19. ======================
  20. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  21. :doc: overview
  22. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
  23. :internal:
  24. Lifecycle
  25. ---------
  26. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  27. :doc: DM Lifecycle
  28. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  29. :functions: dm_hw_init dm_hw_fini
  30. Interrupts
  31. ----------
  32. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
  33. :doc: overview
  34. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
  35. :internal:
  36. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  37. :functions: register_hpd_handlers dm_crtc_high_irq dm_pflip_high_irq
  38. Atomic Implementation
  39. ---------------------
  40. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  41. :doc: atomic
  42. .. kernel-doc:: drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
  43. :functions: amdgpu_dm_atomic_check amdgpu_dm_atomic_commit_tail
  44. Display Core
  45. ============
  46. **WIP**