drm/msm: support release/retire fence through set prop
Multiple drm clients are allowed to call the
get_properties on drm device node. If sde driver
creates the fence for each get_property call then
it may leave fd leak in client process context
because might not be expecting fences. Supporting
get_property for only master device may not solve
the issue because master client may still call
the get_properties multiple times between two
commit cycles.
This patch supports release/retire fence through
set property to avoid fence leak.
Change-Id: I07fe63fe84901d7f96b522ca6309cfdd90a25c40
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Loading
Please register or sign in to comment