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