drm/amdgpu: Refactor mode2 reset logic for v11.0.7
authorVictor Zhao <Victor.Zhao@amd.com>
Thu, 13 Oct 2022 07:53:19 +0000 (15:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 17 Oct 2022 21:41:20 +0000 (17:41 -0400)
commit16e311612456df01308585b89227854b1f495041
tree2d3c0eb25cd548a5de2bf377134b5aaf949a31db
parentb98a1648d6616d288e888c6dc6dcd4fa543585b3
drm/amdgpu: Refactor mode2 reset logic for v11.0.7

- refactor mode2 on v11.0.7 to align with aldebaran
- comment out using mode2 reset as default for now, will introduce
another controller to replace previous reset_level_mask

v2: squash in unused variable removal (Alex)

Signed-off-by: Victor Zhao <Victor.Zhao@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c