RE: [PATCH 1/2] drm/amd/pm: Hide irrelevant pm device attributes

2023-11-03 Thread Kamal, Asad
1/2] drm/amd/pm: Hide irrelevant pm device attributes Change return code to EOPNOTSUPP for unsupported functions. Use the error code information to hide sysfs nodes not valid for the SOC. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 12 ++-- drivers/gpu/drm/am

[PATCH 1/2] drm/amd/pm: Hide irrelevant pm device attributes

2023-11-02 Thread Lijo Lazar
Change return code to EOPNOTSUPP for unsupported functions. Use the error code information to hide sysfs nodes not valid for the SOC. Signed-off-by: Lijo Lazar --- drivers/gpu/drm/amd/pm/amdgpu_dpm.c | 12 ++-- drivers/gpu/drm/amd/pm/amdgpu_pm.c| 12 drivers/gp