aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2021-03-05 03:54:28 +0000
committerAlex Deucher <[email protected]>2021-03-24 03:03:18 +0000
commit692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5 (patch)
treef5046ac3404b77e3d610db148ae8a7e02b9f546a /drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h
parentdrm/amd/display: Align cursor cache address to 2KB (diff)
downloadkernel-692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5.tar.gz
kernel-692bd2a02e2dfe128e8451f9bc1806ab87d0b1d5.zip
drm/amdgpu/swsmu: fix error return code of smu_v11_0_set_allowed_mask()
When bitmap_empty() or feature->feature_num triggers an error, no error return code of smu_v11_0_set_allowed_mask() is assigned. To fix this bug, ret is assigned with -EINVAL as error return code. Reviewed-by: Evan Quan <[email protected]> Reported-by: TOTE Robot <[email protected]> Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mode.h')
0 files changed, 0 insertions, 0 deletions