mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Merge "disp: msm: sde: allow input fence status show only when kickoff in progress"
This commit is contained in:
commit
fbe759f998
1 changed files with 4 additions and 0 deletions
|
|
@ -6148,6 +6148,9 @@ static int _sde_debugfs_fence_status_show(struct seq_file *s, void *data)
|
|||
dev = crtc->dev;
|
||||
cstate = to_sde_crtc_state(crtc->state);
|
||||
|
||||
if (!sde_crtc->kickoff_in_progress)
|
||||
goto skip_input_fence;
|
||||
|
||||
/* Dump input fence info */
|
||||
seq_puts(s, "===Input fence===\n");
|
||||
drm_atomic_crtc_for_each_plane(plane, crtc) {
|
||||
|
|
@ -6175,6 +6178,7 @@ static int _sde_debugfs_fence_status_show(struct seq_file *s, void *data)
|
|||
}
|
||||
}
|
||||
|
||||
skip_input_fence:
|
||||
/* Dump release fence info */
|
||||
seq_puts(s, "\n");
|
||||
seq_puts(s, "===Release fence===\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue