diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2023-10-31 12:32:03 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-07 12:03:31 -0500 |
commit | 8cfd6a05750cd7aa84e7f1e5933fa7781006bfc3 (patch) | |
tree | 0e20755df4336733d80f8e0fc70b3943e66e8a73 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
parent | 0553eb9f33aa1a89a788682c78bd9747d41e65cb (diff) |
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 <lijo.lazar@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions