xref: /linux/Documentation/gpu/amdgpu/driver-misc.rst (revision cbac924200b838cfb8d8b1415113d788089dc50b)
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_device.c
15   :doc: product_name
16
17product_number
18--------------
19
20.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
21   :doc: product_name
22
23serial_number
24-------------
25
26.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.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
35GPU Memory Usage Information
36============================
37
38Various memory accounting can be accessed via sysfs
39
40mem_info_vram_total
41-------------------
42
43.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
44   :doc: mem_info_vram_total
45
46mem_info_vram_used
47------------------
48
49.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
50   :doc: mem_info_vram_used
51
52mem_info_vis_vram_total
53-----------------------
54
55.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
56   :doc: mem_info_vis_vram_total
57
58mem_info_vis_vram_used
59----------------------
60
61.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
62   :doc: mem_info_vis_vram_used
63
64mem_info_gtt_total
65------------------
66
67.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
68   :doc: mem_info_gtt_total
69
70mem_info_gtt_used
71-----------------
72
73.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
74   :doc: mem_info_gtt_used
75
76PCIe Accounting Information
77===========================
78
79pcie_bw
80-------
81
82.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
83   :doc: pcie_bw
84
85pcie_replay_count
86-----------------
87
88.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
89   :doc: pcie_replay_count
90
91GPU SmartShift Information
92==========================
93
94GPU SmartShift information via sysfs
95
96smartshift_apu_power
97--------------------
98
99.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
100   :doc: smartshift_apu_power
101
102smartshift_dgpu_power
103---------------------
104
105.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
106   :doc: smartshift_dgpu_power
107
108smartshift_bias
109---------------
110
111.. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
112   :doc: smartshift_bias
113