OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64474e
)
drm/amdgpu: clean up to set fw_offset as 0 twice
author
Huang Rui
<ray.huang@amd.com>
Wed, 28 Sep 2016 08:04:33 +0000
(16:04 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 4 Oct 2016 15:16:00 +0000
(11:16 -0400)
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
index
7a05f79
..
cb3d252
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@
-273,7
+273,6
@@
int amdgpu_ucode_init_bo(struct amdgpu_device *adev)
amdgpu_bo_unreserve(*bo);
- fw_offset = 0;
for (i = 0; i < AMDGPU_UCODE_ID_MAXIMUM; i++) {
ucode = &adev->firmware.ucode[i];
if (ucode->fw) {