drm/amdgpu: fix a wrong ib reference
authorLang Yu <Lang.Yu@amd.com>
Mon, 7 Mar 2022 03:47:45 +0000 (11:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Mar 2022 22:28:37 +0000 (17:28 -0500)
commit96a2f0f2c8006d338a9647e068a15c6eb299f864
tree684252bcaa4569cb2dcf7b817c296342ef2e0d81
parentd55957fb299b74829c438f77fe29896e3aed39fc
drm/amdgpu: fix a wrong ib reference

It should be p->job->ibs[j] instead of p->job->ibs[i] here.

Fixes: cdc7893fc93f19 ("drm/amdgpu: use job and ib structures directly in CS parsers")
Signed-off-by: Lang Yu <Lang.Yu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c