diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-04-17 22:37:21 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-28 23:36:05 -0400 |
commit | 11dd55d1743881c7c8f62171066292fc034e1c3c (patch) | |
tree | 0e617d7a70aec81e4d278cb76df6a92722fea039 /crypto | |
parent | 4999e398e281b336c7e08a3bf0da014d9cc2119f (diff) | |
download | linux-11dd55d1743881c7c8f62171066292fc034e1c3c.tar.bz2 |
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 <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions