[PATCH] drm/amdgpu: Fix typo in amdgpu_vmid_mgr_init

Christian König ckoenig.leichtzumerken at gmail.com
Fri Oct 12 14:44:57 UTC 2018


Am 12.10.2018 um 16:41 schrieb Rex Zhu:
> Signed-off-by: Rex Zhu <Rex.Zhu at amd.com>

Good catch, but we need a commit message.

With that added the patch is Reviewed-by: Christian König 
<christian.koenig at amd.com>.

Christian.

> ---
>   drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c
> index 3a072a7..df9b173 100644
> --- 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);
>   		}
>   	}



More information about the amd-gfx mailing list