Merge "disp: msm: add support to notify retire frame event"

This commit is contained in:
qctecmdr
2020-09-21 03:57:31 -07:00
committed by Gerrit - the friendly Code Review server
2 changed files with 36 additions and 0 deletions

View File

@@ -243,8 +243,10 @@ struct sde_crtc_misr_info {
* @play_count : frame count between crtc enable and disable
* @vblank_cb_time : ktime at vblank count reset
* @vblank_last_cb_time : ktime at last vblank notification
* @retire_frame_event_time : ktime at last retire frame event
* @sysfs_dev : sysfs device node for crtc
* @vsync_event_sf : vsync event notifier sysfs device
* @retire_frame_event_sf :retire frame event notifier sysfs device
* @enabled : whether the SDE CRTC is currently enabled. updated in the
* commit-thread, not state-swap time which is earlier, so
* safe to make decisions on during VBLANK on/off work
@@ -317,9 +319,11 @@ struct sde_crtc {
u64 play_count;
ktime_t vblank_cb_time;
ktime_t vblank_last_cb_time;
ktime_t retire_frame_event_time;
struct sde_crtc_fps_info fps_info;
struct device *sysfs_dev;
struct kernfs_node *vsync_event_sf;
struct kernfs_node *retire_frame_event_sf;
bool enabled;
struct list_head feature_list;