mirror_ubuntu-kernels/drivers/gpu/drm/amd
Alex Deucher e281d5940a drm/amdgpu/swsmu/i2c: return an error if the SMU is not running
Return an error if someone tries to use the i2c bus when the
SMU is not running.  Otherwise we can end up sending commands
to the SMU which will either get ignored or could cause other
issues depending on what state the GPU and SMU are in.

Cc: Luben.Tuikov@amd.com
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-01-27 15:50:03 -05:00
..
acp
amdgpu drm/amd: Enable FRU EEPROM for Sienna Cichlid 2022-01-27 15:49:56 -05:00
amdkfd drm/amdkfd: svm range restore work deadlock when process exit 2022-01-27 15:47:58 -05:00
display drm/amd/display: Fix unused variable warning 2022-01-27 15:49:18 -05:00
include drm/amdgpu: suppress the warning about enum value 'AMD_IP_BLOCK_TYPE_NUM' 2022-01-25 18:00:32 -05:00
pm drm/amdgpu/swsmu/i2c: return an error if the SMU is not running 2022-01-27 15:50:03 -05:00