drm/amd/pm: introduce a new set of OD interfaces
authorEvan Quan <evan.quan@amd.com>
Thu, 10 Aug 2023 07:57:35 +0000 (15:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 31 Aug 2023 20:35:26 +0000 (16:35 -0400)
commit3e38b634f94ef7fe76020cb0df805f218b6a637e
tree59bb03604c9aa3616bc86985d9a8c71ab7fb1fb6
parent2cd1f65d3174256aadce75ba716a18fbccabd5ce
drm/amd/pm: introduce a new set of OD interfaces

There will be multiple interfaces(sysfs files) exposed with each representing
a single OD functionality. And all those interface will be arranged in a tree
liked hierarchy with the top dir as "gpu_od". Meanwhile all functionalities
for the same component will be arranged under the same directory.

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