driver-misc.rst 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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_device.c
  11. :doc: product_name
  12. product_number
  13. --------------
  14. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  15. :doc: product_name
  16. serial_number
  17. -------------
  18. .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
  19. :doc: serial_number
  20. unique_id
  21. ---------
  22. .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
  23. :doc: unique_id
  24. Accelerated Processing Units (APU) Info
  25. ---------------------------------------
  26. .. csv-table::
  27. :header-rows: 1
  28. :widths: 3, 2, 2, 1, 1, 1
  29. :file: ./apu-asic-info-table.csv
  30. Discrete GPU Info
  31. -----------------
  32. .. csv-table::
  33. :header-rows: 1
  34. :widths: 3, 2, 2, 1, 1, 1
  35. :file: ./dgpu-asic-info-table.csv
  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