[PATCH] drm/amdgpu/soc15: move struct definition around to align with other soc15 asics
Zhao, Yong
Yong.Zhao at amd.com
Fri Nov 15 16:43:00 UTC 2019
Reviewed-by: Yong Zhao <Yong.Zhao at amd.com>
________________________________
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> on behalf of Alex Deucher <alexdeucher at gmail.com>
Sent: Friday, November 15, 2019 11:13 AM
To: amd-gfx list <amd-gfx at lists.freedesktop.org>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com>
Subject: Re: [PATCH] drm/amdgpu/soc15: move struct definition around to align with other soc15 asics
Ping?
On Mon, Nov 11, 2019 at 5:21 PM Alex Deucher <alexdeucher at gmail.com> wrote:
>
> Move reset_method next to reset callback to match the struct layout and
> the other definition in this file.
>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
> index 8e1640bc07af..305ad3eec987 100644
> --- a/drivers/gpu/drm/amd/amdgpu/soc15.c
> +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
> @@ -1007,6 +1007,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,
> @@ -1019,7 +1020,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)
> --
> 2.23.0
>
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20191115/5b80f0fb/attachment-0001.html>
More information about the amd-gfx
mailing list