diff options
author | 2021-09-02 13:27:56 +0200 | |
---|---|---|
committer | 2021-09-14 15:35:44 -0400 | |
commit | 59715cffce19cfd4f7cffcf6d7ecc18478af8c4a (patch) | |
tree | 5ab8790bf476b7f7cdddf1e54f754590f198541d /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | drm/amd/display: make configure_lttpr_mode_transparent and configure_lttpr_mode_non_transparent static (diff) | |
download | linux-dev-59715cffce19cfd4f7cffcf6d7ecc18478af8c4a.tar.xz linux-dev-59715cffce19cfd4f7cffcf6d7ecc18478af8c4a.zip |
drm/amdgpu: use IS_ERR for debugfs APIs
debugfs APIs returns encoded error so use
IS_ERR for checking return value.
v2: return PTR_ERR(ent)
References: https://gitlab.freedesktop.org/drm/amd/-/issues/1686
Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-By: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions