[PATCH] drm/amdgpu: jt_size was wrongly counted twice
Deucher, Alexander
Alexander.Deucher at amd.com
Thu Aug 10 15:12:35 UTC 2017
> -----Original Message-----
> From: amd-gfx [mailto:amd-gfx-bounces at lists.freedesktop.org] On Behalf
> Of Evan Quan
> Sent: Thursday, August 10, 2017 4:23 AM
> To: amd-gfx at lists.freedesktop.org
> Cc: Quan, Evan; Huang, Ray
> Subject: [PATCH] drm/amdgpu: jt_size was wrongly counted twice
>
> Change-Id: Ic6c031f160cb5ed5744ed302f0d819505ece427e
> Signed-off-by: Evan Quan <evan.quan at amd.com>
> Signed-off-by: Huang Rui <ray.huang at amd.com>
Acked-by: Alex Deucher <alexander.deucher at amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> index d3468a2..36c7633 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
> @@ -358,8 +358,6 @@ static int amdgpu_ucode_patch_jt(struct
> amdgpu_firmware_info *ucode,
> (le32_to_cpu(header->jt_offset) * 4);
> memcpy(dst_addr, src_addr, le32_to_cpu(header->jt_size) * 4);
>
> - ucode->ucode_size += le32_to_cpu(header->jt_size) * 4;
> -
> return 0;
> }
>
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list