drm/msm/sde: create release/retire fence once per commit
Due to the modeset locks acquire/backoff logic in the DRM
framework, there might be a possibility that set_property
be called multiple times for few properties. This would
cause issues for properties which allocates/creates
objects based on the set_property, ending up creating
multiple objects on the same commit leading to a leak.
Create the release/retire only once per commit during the
drm set_property to avoid fence leaks.
Change-Id: If66b8c76724fd8f381cade7b611b3058dda4a2f0
Signed-off-by:
Veera Sundaram Sankaran <veeras@codeaurora.org>
Loading
Please register or sign in to comment