Commit a39bf13f authored by Rob Clark's avatar Rob Clark Committed by Greg Kroah-Hartman
Browse files

drm/msm: Disallow submit with fence id 0



[ Upstream commit 1b5d0ddc ]

A fence id of zero is expected to be invalid, and is not removed from
the fence_idr table.  If userspace is requesting to specify the fence
id with the FENCE_SN_IN flag, we need to reject a zero fence id value.

Fixes: 17154add ("drm/msm: Add MSM_SUBMIT_FENCE_SN_IN")
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Patchwork: https://patchwork.freedesktop.org/patch/549180/


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3398e8b2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment