projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c3ff2
)
drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init
author
Rex Zhu
<Rex.Zhu@amd.com>
Fri, 12 Oct 2018 14:26:11 +0000
(22:26 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 16 Oct 2018 20:08:08 +0000
(15:08 -0500)
fix a typo in for loop: i->j
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
index 3a072a7a39f0faba89936f5735b349e282cf229a..df9b173c3d0b000462ce0731bbe2695c92f35d59 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
@@
-574,7
+574,7
@@
void amdgpu_vmid_mgr_init(struct amdgpu_device *adev)
/* skip over VMID 0, since it is the system VM */
for (j = 1; j < id_mgr->num_ids; ++j) {
amdgpu_vmid_reset(adev, i, j);
- amdgpu_sync_create(&id_mgr->ids[
i
].active);
+ amdgpu_sync_create(&id_mgr->ids[
j
].active);
list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru);
}
}