]> 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)
commit55851e6e500b9b0bf9b1fba8259450116b9c9670
tree87216ee8262704dfe3fba0feb7aa54416f7ea9ae
parentb9d63f05b931c6c7466db5da2bd4efae40bb7523
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: 53bb892ac9fe ("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