Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/msm/gpu: Don't allow zero fence_id
Elsewhere we treat zero as "no fence" and __msm_gem_submit_destroy() skips removal from fence_idr. We could alternately change this to use negative values for "no fence" but I think it is more clear to not allow zero as a valid fence_id. Signed-off-by: Rob Clark <[email protected]> Fixes: a61acbb ("drm/msm: Track "seqno" fences by idr") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
- Loading branch information