]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu/powerplay/iceland: return an error if copying to smc fails
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 30 Nov 2020 23:36:41 +0000 (18:36 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Dec 2020 22:37:16 +0000 (17:37 -0500)
commit402bdef8a5cbd5a6922a5bd7e109c411ef7d28ee
tree0f3591818f0b08341ab6a1b12781e9fd964b3be2
parentcfcc59d4c1af761a262c38e5bb65a4d631e1e9c6
drm/amdgpu/powerplay/iceland: return an error if copying to smc fails

Rather than just silently dropping it.  Also fixes a set but
unused variable warning.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c