drm/amdgpu: Use default reset method handler
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 6 Sep 2023 11:18:38 +0000 (16:48 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 Sep 2023 21:10:25 +0000 (17:10 -0400)
commitca7aa3bf31dc7539af950e7c99c330aa3e9b2a0b
treef064102713f3dbf046c0e35ff07c6fdb16dba5b4
parentf705a6f021b1ab1d2dd0f82e3d369e0feeb2b123
drm/amdgpu: Use default reset method handler

When reset method is not passed in reset context, look for the handler
for default reset method. On Aldebaran, default reset method for SOCs
connected to CPU over XGMI is MODE2.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Tested-by: Asad Kamal <asad.kamal@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/aldebaran.c