]> Gentwo Git Trees - linux/.git/commit
drm/amd/pm: refine amdgpu pm sysfs node error code
authorYang Wang <kevinyang.wang@amd.com>
Wed, 3 Sep 2025 06:29:12 +0000 (14:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:40 +0000 (17:38 -0400)
commitcf32515a70618c0fb2319bd4a855f4d9447940a8
tree25c735b65799caca64578bb6abbc20b592da6427
parentbddf30944d42e1fb7f105fad4e5f9e7e86ea871e
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>
drivers/gpu/drm/amd/pm/amdgpu_pm.c