drm/amdgpu/soc15: move struct definition around to align with other soc15 asics
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Oct 2019 20:21:27 +0000 (16:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Nov 2019 15:12:51 +0000 (10:12 -0500)
Move reset_method next to reset callback to match the struct layout and
the other definition in this file.

Reviewed-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c

index 689ffa6..44add75 100644 (file)
@@ -1011,6 +1011,7 @@ static const struct amdgpu_asic_funcs vega20_asic_funcs =
        .read_bios_from_rom = &soc15_read_bios_from_rom,
        .read_register = &soc15_read_register,
        .reset = &soc15_asic_reset,
+       .reset_method = &soc15_asic_reset_method,
        .set_vga_state = &soc15_vga_set_state,
        .get_xclk = &soc15_get_xclk,
        .set_uvd_clocks = &soc15_set_uvd_clocks,
@@ -1023,7 +1024,6 @@ static const struct amdgpu_asic_funcs vega20_asic_funcs =
        .get_pcie_usage = &vega20_get_pcie_usage,
        .need_reset_on_init = &soc15_need_reset_on_init,
        .get_pcie_replay_count = &soc15_get_pcie_replay_count,
-       .reset_method = &soc15_asic_reset_method
 };
 
 static int soc15_common_early_init(void *handle)