]> Git Repo - linux.git/commitdiff
drm/amdgpu/pm: document pp_table
authorAlex Deucher <[email protected]>
Thu, 19 Apr 2018 19:02:52 +0000 (14:02 -0500)
committerAlex Deucher <[email protected]>
Tue, 15 May 2018 18:43:45 +0000 (13:43 -0500)
This file is for uploading new powerplay tables.

Acked-by: Felix Kuehling <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c

index e33e0f4c4a285c97f786d74b830d393f1ee91ae2..9982f1b1f8c43ed3e8b0e5247a364a25a5f59a2d 100644 (file)
@@ -408,6 +408,17 @@ fail:
        return count;
 }
 
+/**
+ * DOC: pp_table
+ *
+ * The amdgpu driver provides a sysfs API for uploading new powerplay
+ * tables.  The file pp_table is used for this.  Reading the file
+ * will dump the current power play table.  Writing to the file
+ * will attempt to upload a new powerplay table and re-initialize
+ * powerplay using that new table.
+ *
+ */
+
 static ssize_t amdgpu_get_pp_table(struct device *dev,
                struct device_attribute *attr,
                char *buf)
This page took 0.065135 seconds and 4 git commands to generate.