diff options
| author | Yang Wang <kevinyang.wang@amd.com> | 2025-09-03 09:29:12 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-06 00:38:40 +0300 |
| commit | cf32515a70618c0fb2319bd4a855f4d9447940a8 (patch) | |
| tree | 25c735b65799caca64578bb6abbc20b592da6427 /rust/helpers/bug.c | |
| parent | bddf30944d42e1fb7f105fad4e5f9e7e86ea871e (diff) | |
| download | linux-cf32515a70618c0fb2319bd4a855f4d9447940a8.tar.xz | |
drm/amd/pm: refine amdgpu pm sysfs node error code
v1:
Returns different error codes based on the scenario to help the user app understand
the AMDGPU device status when an exception occurs.
v2:
change -NODEV to -EBUSY.
Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'rust/helpers/bug.c')
0 files changed, 0 insertions, 0 deletions
