drm/amdgpu/pm: add documentation for pp_od_clock_voltage for APUs
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Apr 2021 16:21:46 +0000 (12:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:46 +0000 (18:06 -0400)
APUs only support adjusting the SCLK domain.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c

index f11cecdd70f607092768a93b061252f2dd7a8215..8c2209bcb01f9f88d9ec0d0c67219f7740abae36 100644 (file)
@@ -735,6 +735,14 @@ static ssize_t amdgpu_set_pp_table(struct device *dev,
  * - a list of valid ranges for sclk, mclk, and voltage curve points
  *   labeled OD_RANGE
  *
+ * < For APUs >
+ *
+ * Reading the file will display:
+ *
+ * - minimum and maximum engine clock labeled OD_SCLK
+ *
+ * - a list of valid ranges for sclk labeled OD_RANGE
+ *
  * To manually adjust these settings:
  *
  * - First select manual using power_dpm_force_performance_level