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:00:31 +0000 (15:00 -0500)
commit9c4f59ea3f865693150edf0c91d1cc6b451360dd
tree87216ee8262704dfe3fba0feb7aa54416f7ea9ae
parentf8f4e2a518347063179def4e64580b2d28233d03
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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/pm/swsmu/smu13/yellow_carp_ppt.c