]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62fa20667be124f6335a512ef17a569408dcd26c
tree87216ee8262704dfe3fba0feb7aa54416f7ea9ae
parent118af848f6e5a075cbc04954370df69bf7bbb689
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: 037064c2096a ("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