Commit d54bb40f authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/pm: document pp_table



This file is for uploading new powerplay tables.

Acked-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ca8d40ca
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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)