Commit 761e0923 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu/soc15: move struct definition around to align with other soc15 asics



Move reset_method next to reset callback to match the struct layout and
the other definition in this file.

Reviewed-by: default avatarYong Zhao <Yong.Zhao@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d0d13fe8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)