drm/amd/pm: correct the sequence of sending gpu reset msg
authorYifan Zhang <yifan1.zhang@amd.com>
Fri, 11 Feb 2022 09:58:08 +0000 (17:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Feb 2022 20:08:41 +0000 (15:08 -0500)
commit2fbdbe958a15e735a24ce33751671e9bf221e70d
treea7f508c5f70217061665d1bd64713fcd27ff9df8
parent563285c85ecaa1fcecf304dabf87cbeee1ddbc3f
drm/amd/pm: correct the sequence of sending gpu reset msg

the 2nd parameter should be smu msg type rather than asic msg index.

Fixes: 7d38d9dc4ecc ("drm/amdgpu: add mode2 reset support for yellow carp")
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Acked-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c