drm/amdgpu: jt_size was wrongly counted twice
Subsystems (2)
PATCH 1/1 drm/amdgpu: jt_size was wrongly counted twice
Change-Id Ic6c031f160cb5ed5744ed302f0d819505ece427e
Signed-off-by Evan Quan <[email protected]>
Signed-off-by Huang Rui <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +0 -2
@@ -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 ; }
Signature · 6 lines
2.7.4 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 1502353366-5149-1-git-send-email-evan.quan-5C7GfCeVMHo@public.gmane.org
Deucher, Alexander
Acked-by Alex DeucherQuoted 11 lines
-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Evan Quan
Sent: Thursday, August 10, 2017 4:23 AM
To: [email protected]
Cc: Quan, Evan; Huang, Ray
Subject: [PATCH] drm/amdgpu:jt_sizewas wrongly counted twiceChange-Id Ic6c031f160cb5ed5744ed302f0d819505ece427eSigned-off-by Evan Quan <[email protected]>Signed-off-by Huang Rui <[email protected]>
Acked-by Alex Deucher <[email protected]>
Quoted 22 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 2 -- 1 file changed, 2 deletions(-)drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +0
-3@@ -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
Quoted 4 lines
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx