Merge "disp: msm: sde: update input fence after plane state destroy"
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

當前提交
8ec396fb16
@@ -6150,6 +6150,7 @@ static int _sde_debugfs_fence_status_show(struct seq_file *s, void *data)
|
||||
pstate->stage);
|
||||
|
||||
fence = pstate->input_fence;
|
||||
SDE_EVT32(DRMID(crtc), fence);
|
||||
if (fence)
|
||||
sde_fence_list_dump(fence, &s);
|
||||
}
|
||||
|
@@ -4166,6 +4166,7 @@ static void sde_plane_destroy_state(struct drm_plane *plane,
|
||||
/* remove ref count for fence */
|
||||
if (pstate->input_fence)
|
||||
sde_sync_put(pstate->input_fence);
|
||||
pstate->input_fence = 0;
|
||||
|
||||
/* destroy value helper */
|
||||
msm_property_destroy_state(&psde->property_info, pstate,
|
||||
|
Reference in New Issue
Block a user