aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2021-11-29 10:23:44 -0800
committerRob Clark <[email protected]>2021-12-07 14:34:18 -0800
commitca3ffcbeb0c866d9b0cb38eaa2bd4416597b5966 (patch)
tree81a684c9c6192c2d23e4ae69fe0aec07beacbe8d /lib/mpi/mpiutil.c
parentb9c8accbdd511cf68aeffd0bdc955ddaaba49c52 (diff)
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: a61acbbe9cf8 ("drm/msm: Track "seqno" fences by idr") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions