blob: cacfcfad2356f551b909ad334ec23476c108d76f [file] [log] [blame]
Michel Dänzer99fa7ce2018-05-29 18:39:04 +02001=========================
2 drm/amdgpu AMDgpu driver
3=========================
4
5The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core
6Next (GCN) architecture.
Michel Dänzerbaca30f2018-05-29 18:33:41 +02007
Sonny Jiang8405cf32018-06-26 15:48:34 -04008Module Parameters
9=================
10
11The amdgpu driver supports the following module parameters:
12
13.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
14
Michel Dänzerbaca30f2018-05-29 18:33:41 +020015Core Driver Infrastructure
16==========================
17
18This section covers core driver infrastructure.
19
Michel Dänzer0152ac12018-06-01 12:10:02 +020020.. _amdgpu_memory_domains:
21
22Memory Domains
23--------------
24
25.. kernel-doc:: include/uapi/drm/amdgpu_drm.h
26 :doc: memory domains
27
Michel Dänzera2d19d62018-06-01 12:30:44 +020028Buffer 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
Michel Dänzerbaca30f2018-05-29 18:33:41 +020037PRIME Buffer Sharing
38--------------------
39
40.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
41 :doc: PRIME Buffer Sharing
42
43.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
44 :internal:
Christian Königad7f0b62018-06-05 11:47:43 +020045
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:
Andrey Grodzovsky7fc48e52018-06-11 11:11:24 -040054
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
Michel Dänzerab3ec8a2018-06-14 11:59:20 +020062 :internal:
Slava Abramov923ff762018-06-07 17:27:07 -040063
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
Andrey Grodzovsky7fc48e52018-06-11 11:11:24 -040071 :internal:
Alex Deucherdc85db22018-06-01 12:28:14 -050072
Tom St Denis1c1e53f2019-05-24 09:15:17 -040073AMDGPU 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
Alex Deucherdc85db22018-06-01 12:28:14 -050082GPU Power/Thermal Controls and Monitoring
83=========================================
84
85This section covers hwmon and power/thermal controls.
86
87HWMON Interfaces
88----------------
89
90.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
91 :doc: hwmon
92
93GPU sysfs Power State Interfaces
94--------------------------------
95
96GPU power controls are exposed via sysfs files.
97
98power_dpm_state
99~~~~~~~~~~~~~~~
100
101.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
102 :doc: power_dpm_state
103
104power_dpm_force_performance_level
105~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106
107.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
108 :doc: power_dpm_force_performance_level
109
110pp_table
111~~~~~~~~
112
113.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
114 :doc: pp_table
115
116pp_od_clk_voltage
117~~~~~~~~~~~~~~~~~
118
119.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
120 :doc: pp_od_clk_voltage
121
122pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie
123~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124
125.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
126 :doc: pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie
127
128pp_power_profile_mode
129~~~~~~~~~~~~~~~~~~~~~
130
131.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
132 :doc: pp_power_profile_mode
133
Tom St Denisb374d822018-06-20 07:55:39 -0400134busy_percent
135~~~~~~~~~~~~
136
137.. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
138 :doc: busy_percent