frame_len_fluct is panel-specific. Pass it through
DT instead of hard coding it.
Bug
200101518
Change-Id: If70325a561de24a9ff03254e330aebe23d2fece3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/770714
(cherry picked from commit
5dd00496fa061e519abb0fc890fcb2f67a2940bb)
Reviewed-on: http://git-master/r/775804
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
vrr->vfp_extend = vrr->v_front_porch_max;
vrr->vfp_shrink = vrr->v_front_porch_min;
- vrr->frame_len_fluct = 2000;
vrr->frame_type = 0;
vrr->frame_delta_us = 0;
OF_DC_LOG("vrr_min_fps %d\n", vrr_min_fps);
}
+ if (!of_property_read_u32(np, "nvidia,frame_len_fluct", &temp)) {
+ vrr->frame_len_fluct = (unsigned) temp;
+ OF_DC_LOG("frame_len_fluct %d\n", frame_len_fluct);
+ } else
+ vrr->frame_len_fluct = 2000;
/*
* VRR capability is set when we have vrr_settings section in DT