aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2021-04-18 02:37:21 +0000
committerAlex Deucher <[email protected]>2021-04-29 03:36:05 +0000
commit11dd55d1743881c7c8f62171066292fc034e1c3c (patch)
tree0e617d7a70aec81e4d278cb76df6a92722fea039 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
parentdrm/amdkfd: retry validation to recover range (diff)
downloadkernel-11dd55d1743881c7c8f62171066292fc034e1c3c.tar.gz
kernel-11dd55d1743881c7c8f62171066292fc034e1c3c.zip
drm/amdgpu: return IH ring drain finished if ring is empty
Sometimes IH do not setup ring wptr overflow flag after wptr exceed rptr. As a workaround, if IH rptr equals to wptr, ring is empty, return true to indicate IH ring checkpoint is processed, IH ring drain is finished. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions