diff options
| author | Lijo Lazar <[email protected]> | 2025-05-05 09:48:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-22 16:01:36 +0000 |
| commit | cbbab29246c8b22c3d6285756dd14992cbaa2d5e (patch) | |
| tree | 9426382fa35444576c6b8e7b5e2fde6446c65dfc /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/pm: Add support to query partition metrics (diff) | |
| download | kernel-cbbab29246c8b22c3d6285756dd14992cbaa2d5e.tar.gz kernel-cbbab29246c8b22c3d6285756dd14992cbaa2d5e.zip | |
drm/amdgpu: Add sysfs nodes for partition
Add sysfs nodes to provide compute paritition specific data.
Signed-off-by: Lijo Lazar <[email protected]>
Reviewed-by: Asad Kamal <[email protected]>
Reviewed-by: Hawking Zhang <[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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 4d1b54f58495..908e39dae4b4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -4728,7 +4728,7 @@ fence_driver_init: amdgpu_fru_sysfs_init(adev); amdgpu_reg_state_sysfs_init(adev); - amdgpu_xcp_cfg_sysfs_init(adev); + amdgpu_xcp_sysfs_init(adev); if (IS_ENABLED(CONFIG_PERF_EVENTS)) r = amdgpu_pmu_init(adev); @@ -4858,7 +4858,7 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev) amdgpu_fru_sysfs_fini(adev); amdgpu_reg_state_sysfs_fini(adev); - amdgpu_xcp_cfg_sysfs_fini(adev); + amdgpu_xcp_sysfs_fini(adev); /* disable ras feature must before hw fini */ amdgpu_ras_pre_fini(adev); |
