diff options
author | Alex Deucher <[email protected]> | 2022-01-27 12:17:23 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-01-27 15:50:03 -0500 |
commit | e281d5940ae7f2ceff99d5e001a69b5f0884d2f0 (patch) | |
tree | efafddada5a7a4374b402460c5d7779bbec56c0c /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | 3ed893396b0132fa5a4d3fe3f9ba358678c6dba3 (diff) |
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: [email protected]
Reviewed-by: Luben Tuikov <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions