diff options
| author | Evan Quan <[email protected]> | 2023-08-10 07:57:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-31 20:35:26 +0000 |
| commit | 3e38b634f94ef7fe76020cb0df805f218b6a637e (patch) | |
| tree | 59bb03604c9aa3616bc86985d9a8c71ab7fb1fb6 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amdgpu: add UMSCH IP BLOCK TYPE definition (diff) | |
| download | kernel-3e38b634f94ef7fe76020cb0df805f218b6a637e.tar.gz kernel-3e38b634f94ef7fe76020cb0df805f218b6a637e.zip | |
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 603ce113a9f8..ed0104f56504 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -3624,6 +3624,8 @@ int amdgpu_device_init(struct amdgpu_device *adev, INIT_LIST_HEAD(&adev->ras_list); + INIT_LIST_HEAD(&adev->pm.od_kobj_list); + INIT_DELAYED_WORK(&adev->delayed_init_work, amdgpu_device_delayed_init_work_handler); INIT_DELAYED_WORK(&adev->gfx.gfx_off_delay_work, |
