driver-misc.rst 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. ================================
  2. Misc AMDGPU driver information
  3. ================================
  4. GPU Product Information
  5. =======================
  6. Information about the GPU can be obtained on certain cards
  7. via sysfs
  8. product_name
  9. ------------
  10. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
  11. :doc: product_name
  12. product_number
  13. --------------
  14. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
  15. :doc: product_number
  16. serial_number
  17. -------------
  18. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
  19. :doc: serial_number
  20. fru_id
  21. -------------
  22. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
  23. :doc: fru_id
  24. manufacturer
  25. -------------
  26. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
  27. :doc: manufacturer
  28. unique_id
  29. ---------
  30. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  31. :doc: unique_id
  32. board_info
  33. ----------
  34. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  35. :doc: board_info
  36. GPU Memory Usage Information
  37. ============================
  38. Various memory accounting can be accessed via sysfs
  39. mem_info_vram_total
  40. -------------------
  41. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
  42. :doc: mem_info_vram_total
  43. mem_info_vram_used
  44. ------------------
  45. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
  46. :doc: mem_info_vram_used
  47. mem_info_vis_vram_total
  48. -----------------------
  49. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
  50. :doc: mem_info_vis_vram_total
  51. mem_info_vis_vram_used
  52. ----------------------
  53. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
  54. :doc: mem_info_vis_vram_used
  55. mem_info_gtt_total
  56. ------------------
  57. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
  58. :doc: mem_info_gtt_total
  59. mem_info_gtt_used
  60. -----------------
  61. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
  62. :doc: mem_info_gtt_used
  63. PCIe Accounting Information
  64. ===========================
  65. pcie_bw
  66. -------
  67. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  68. :doc: pcie_bw
  69. pcie_replay_count
  70. -----------------
  71. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  72. :doc: pcie_replay_count
  73. GPU SmartShift Information
  74. ==========================
  75. GPU SmartShift information via sysfs
  76. smartshift_apu_power
  77. --------------------
  78. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  79. :doc: smartshift_apu_power
  80. smartshift_dgpu_power
  81. ---------------------
  82. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  83. :doc: smartshift_dgpu_power
  84. smartshift_bias
  85. ---------------
  86. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  87. :doc: smartshift_bias
  88. UMA Carveout
  89. ============
  90. Some versions of Atom ROM expose available options for the VRAM carveout sizes,
  91. and allow changes to the carveout size via the ATCS function code 0xA on supported
  92. BIOS implementations.
  93. For those platforms, users can use the following files under uma/ to set the
  94. carveout size, in a way similar to what Windows users can do in the "Tuning"
  95. tab in AMD Adrenalin.
  96. Note that for BIOS implementations that don't support this, these files will not
  97. be created at all.
  98. uma/carveout_options
  99. --------------------
  100. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  101. :doc: uma/carveout_options
  102. uma/carveout
  103. --------------------
  104. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  105. :doc: uma/carveout