| 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_fru_eeprom.c
|
| 15 | :doc: product_name
|
| 16 |
|
| 17 | product_number
|
| 18 | --------------
|
| 19 |
|
| 20 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
|
| 21 | :doc: product_number
|
| 22 |
|
| 23 | serial_number
|
| 24 | -------------
|
| 25 |
|
| 26 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
|
| 27 | :doc: serial_number
|
| 28 |
|
| 29 | fru_id
|
| 30 | -------------
|
| 31 |
|
| 32 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
|
| 33 | :doc: fru_id
|
| 34 |
|
| 35 | manufacturer
|
| 36 | -------------
|
| 37 |
|
| 38 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c
|
| 39 | :doc: manufacturer
|
| 40 |
|
| 41 | unique_id
|
| 42 | ---------
|
| 43 |
|
| 44 | .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
|
| 45 | :doc: unique_id
|
| 46 |
|
| 47 | board_info
|
| 48 | ----------
|
| 49 |
|
| 50 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
| 51 | :doc: board_info
|
| 52 |
|
| 53 | GPU Memory Usage Information
|
| 54 | ============================
|
| 55 |
|
| 56 | Various memory accounting can be accessed via sysfs
|
| 57 |
|
| 58 | mem_info_vram_total
|
| 59 | -------------------
|
| 60 |
|
| 61 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
|
| 62 | :doc: mem_info_vram_total
|
| 63 |
|
| 64 | mem_info_vram_used
|
| 65 | ------------------
|
| 66 |
|
| 67 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
|
| 68 | :doc: mem_info_vram_used
|
| 69 |
|
| 70 | mem_info_vis_vram_total
|
| 71 | -----------------------
|
| 72 |
|
| 73 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
|
| 74 | :doc: mem_info_vis_vram_total
|
| 75 |
|
| 76 | mem_info_vis_vram_used
|
| 77 | ----------------------
|
| 78 |
|
| 79 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
|
| 80 | :doc: mem_info_vis_vram_used
|
| 81 |
|
| 82 | mem_info_gtt_total
|
| 83 | ------------------
|
| 84 |
|
| 85 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
|
| 86 | :doc: mem_info_gtt_total
|
| 87 |
|
| 88 | mem_info_gtt_used
|
| 89 | -----------------
|
| 90 |
|
| 91 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
|
| 92 | :doc: mem_info_gtt_used
|
| 93 |
|
| 94 | PCIe Accounting Information
|
| 95 | ===========================
|
| 96 |
|
| 97 | pcie_bw
|
| 98 | -------
|
| 99 |
|
| 100 | .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
|
| 101 | :doc: pcie_bw
|
| 102 |
|
| 103 | pcie_replay_count
|
| 104 | -----------------
|
| 105 |
|
| 106 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
| 107 | :doc: pcie_replay_count
|
| 108 |
|
| 109 | GPU SmartShift Information
|
| 110 | ==========================
|
| 111 |
|
| 112 | GPU SmartShift information via sysfs
|
| 113 |
|
| 114 | smartshift_apu_power
|
| 115 | --------------------
|
| 116 |
|
| 117 | .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
|
| 118 | :doc: smartshift_apu_power
|
| 119 |
|
| 120 | smartshift_dgpu_power
|
| 121 | ---------------------
|
| 122 |
|
| 123 | .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
|
| 124 | :doc: smartshift_dgpu_power
|
| 125 |
|
| 126 | smartshift_bias
|
| 127 | ---------------
|
| 128 |
|
| 129 | .. kernel-doc:: drivers/gpu/drm/amd/pm/amdgpu_pm.c
|
| 130 | :doc: smartshift_bias
|
| 131 |
|
| 132 | UMA Carveout
|
| 133 | ============
|
| 134 |
|
| 135 | Some versions of Atom ROM expose available options for the VRAM carveout sizes,
|
| 136 | and allow changes to the carveout size via the ATCS function code 0xA on supported
|
| 137 | BIOS implementations.
|
| 138 |
|
| 139 | For those platforms, users can use the following files under uma/ to set the
|
| 140 | carveout size, in a way similar to what Windows users can do in the "Tuning"
|
| 141 | tab in AMD Adrenalin.
|
| 142 |
|
| 143 | Note that for BIOS implementations that don't support this, these files will not
|
| 144 | be created at all.
|
| 145 |
|
| 146 | uma/carveout_options
|
| 147 | --------------------
|
| 148 |
|
| 149 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
| 150 | :doc: uma/carveout_options
|
| 151 |
|
| 152 | uma/carveout
|
| 153 | --------------------
|
| 154 |
|
| 155 | .. kernel-doc:: drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
|
| 156 | :doc: uma/carveout
|