1================================
2 Misc AMDGPU driver information
3================================
4
5GPU Product Information
6=======================
7
8Information about the GPU can be obtained on certain cards
9via sysfs
10
11product_name
12------------
13
14.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
15   :doc: product_name
16
17product_number
18--------------
19
20.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
21   :doc: product_number
22
23serial_number
24-------------
25
26.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
27   :doc: serial_number
28
29unique_id
30---------
31
32.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
33   :doc: unique_id
34
35Accelerated Processing Units (APU) Info
36---------------------------------------
37
38.. csv-table::
39   :header-rows: 1
40   :widths: 3, 2, 2, 1, 1, 1, 1
41   :file: ./apu-asic-info-table.csv
42
43Discrete GPU Info
44-----------------
45
46.. csv-table::
47   :header-rows: 1
48   :widths: 3, 2, 2, 1, 1, 1
49   :file: ./dgpu-asic-info-table.csv
50
51
52GPU Memory Usage Information
53============================
54
55Various memory accounting can be accessed via sysfs
56
57mem_info_vram_total
58-------------------
59
60.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
61   :doc: mem_info_vram_total
62
63mem_info_vram_used
64------------------
65
66.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
67   :doc: mem_info_vram_used
68
69mem_info_vis_vram_total
70-----------------------
71
72.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
73   :doc: mem_info_vis_vram_total
74
75mem_info_vis_vram_used
76----------------------
77
78.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
79   :doc: mem_info_vis_vram_used
80
81mem_info_gtt_total
82------------------
83
84.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
85   :doc: mem_info_gtt_total
86
87mem_info_gtt_used
88-----------------
89
90.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
91   :doc: mem_info_gtt_used
92
93PCIe Accounting Information
94===========================
95
96pcie_bw
97-------
98
99.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
100   :doc: pcie_bw
101
102pcie_replay_count
103-----------------
104
105.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
106   :doc: pcie_replay_count
107
108GPU SmartShift Information
109==========================
110
111GPU SmartShift information via sysfs
112
113smartshift_apu_power
114--------------------
115
116.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
117   :doc: smartshift_apu_power
118
119smartshift_dgpu_power
120---------------------
121
122.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
123   :doc: smartshift_dgpu_power
124
125smartshift_bias
126---------------
127
128.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
129   :doc: smartshift_bias
130