Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame^] | 1 | ========================= |
| 2 | drm/amdgpu AMDgpu driver |
| 3 | ========================= |
| 4 | |
| 5 | The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core |
| 6 | Next (GCN) architecture. |
| 7 | |
| 8 | Module Parameters |
| 9 | ================= |
| 10 | |
| 11 | The amdgpu driver supports the following module parameters: |
| 12 | |
| 13 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c |
| 14 | |
| 15 | Core Driver Infrastructure |
| 16 | ========================== |
| 17 | |
| 18 | This section covers core driver infrastructure. |
| 19 | |
| 20 | .. _amdgpu_memory_domains: |
| 21 | |
| 22 | Memory Domains |
| 23 | -------------- |
| 24 | |
| 25 | .. kernel-doc:: include/uapi/drm/amdgpu_drm.h |
| 26 | :doc: memory domains |
| 27 | |
| 28 | Buffer 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 | |
| 37 | PRIME 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: |
| 45 | |
| 46 | MMU 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 | |
| 55 | AMDGPU 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 | |
| 64 | Interrupt 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 | |
| 73 | GPU Power/Thermal Controls and Monitoring |
| 74 | ========================================= |
| 75 | |
| 76 | This section covers hwmon and power/thermal controls. |
| 77 | |
| 78 | HWMON Interfaces |
| 79 | ---------------- |
| 80 | |
| 81 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 82 | :doc: hwmon |
| 83 | |
| 84 | GPU sysfs Power State Interfaces |
| 85 | -------------------------------- |
| 86 | |
| 87 | GPU power controls are exposed via sysfs files. |
| 88 | |
| 89 | power_dpm_state |
| 90 | ~~~~~~~~~~~~~~~ |
| 91 | |
| 92 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 93 | :doc: power_dpm_state |
| 94 | |
| 95 | power_dpm_force_performance_level |
| 96 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 97 | |
| 98 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 99 | :doc: power_dpm_force_performance_level |
| 100 | |
| 101 | pp_table |
| 102 | ~~~~~~~~ |
| 103 | |
| 104 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 105 | :doc: pp_table |
| 106 | |
| 107 | pp_od_clk_voltage |
| 108 | ~~~~~~~~~~~~~~~~~ |
| 109 | |
| 110 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 111 | :doc: pp_od_clk_voltage |
| 112 | |
| 113 | pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie |
| 114 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 115 | |
| 116 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 117 | :doc: pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie |
| 118 | |
| 119 | pp_power_profile_mode |
| 120 | ~~~~~~~~~~~~~~~~~~~~~ |
| 121 | |
| 122 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 123 | :doc: pp_power_profile_mode |
| 124 | |
| 125 | busy_percent |
| 126 | ~~~~~~~~~~~~ |
| 127 | |
| 128 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c |
| 129 | :doc: busy_percent |