drm/amd/pm: enhance the real response for smu message (v2)
authorHuang Rui <ray.huang@amd.com>
Fri, 8 Jan 2021 08:27:15 +0000 (16:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:47:11 +0000 (23:47 -0500)
commit11db224b349e53a89815f645638d63608fb5d782
tree43acca4b0d6041ec64aaeb5606d2b64f0a9e0716
parent1acc080213a6ec611db029c3982407ee2ba27190
drm/amd/pm: enhance the real response for smu message (v2)

The user prefers to know the real response value from C2PMSG 90 register
which is written by firmware not -EIO.

v2: return C2PMSG 90 value

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c