• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1=========================
2 drm/amdgpu AMDgpu driver
3=========================
4
5The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core
6Next (GCN) architecture.
7
8Module Parameters
9=================
10
11The amdgpu driver supports the following module parameters:
12
13.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
14
15Core Driver Infrastructure
16==========================
17
18This section covers core driver infrastructure.
19
20.. _amdgpu_memory_domains:
21
22Memory Domains
23--------------
24
25.. kernel-doc:: include/uapi/drm/amdgpu_drm.h
26   :doc: memory domains
27
28Buffer Objects
29--------------
30
31.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
32   :doc: amdgpu_object
33
34.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
35   :internal:
36
37PRIME Buffer Sharing
38--------------------
39
40.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
41   :doc: PRIME Buffer Sharing
42
43.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c
44   :internal:
45
46MMU Notifier
47------------
48
49.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
50   :doc: MMU Notifier
51
52.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
53   :internal:
54
55AMDGPU Virtual Memory
56---------------------
57
58.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
59   :doc: GPUVM
60
61.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
62   :internal:
63
64Interrupt Handling
65------------------
66
67.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
68   :doc: Interrupt Handling
69
70.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
71   :internal:
72
73AMDGPU XGMI Support
74===================
75
76.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
77   :doc: AMDGPU XGMI Support
78
79.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
80   :internal:
81
82AMDGPU RAS debugfs control interface
83====================================
84
85.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
86   :doc: AMDGPU RAS debugfs control interface
87
88
89.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
90   :internal:
91
92
93GPU Power/Thermal Controls and Monitoring
94=========================================
95
96This section covers hwmon and power/thermal controls.
97
98HWMON Interfaces
99----------------
100
101.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
102   :doc: hwmon
103
104GPU sysfs Power State Interfaces
105--------------------------------
106
107GPU power controls are exposed via sysfs files.
108
109power_dpm_state
110~~~~~~~~~~~~~~~
111
112.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
113   :doc: power_dpm_state
114
115power_dpm_force_performance_level
116~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
117
118.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
119   :doc: power_dpm_force_performance_level
120
121pp_table
122~~~~~~~~
123
124.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
125   :doc: pp_table
126
127pp_od_clk_voltage
128~~~~~~~~~~~~~~~~~
129
130.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
131   :doc: pp_od_clk_voltage
132
133pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie
134~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
135
136.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
137   :doc: pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie
138
139pp_power_profile_mode
140~~~~~~~~~~~~~~~~~~~~~
141
142.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
143   :doc: pp_power_profile_mode
144
145busy_percent
146~~~~~~~~~~~~
147
148.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
149   :doc: busy_percent
150