Bug
200124751
Change-Id: Ia31c61820f9b5d013571c04c9d80db8e9179335e
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/774214
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
int err = 0;
struct tegra_dc_ext_win *ext_win = &ext->win[win->idx];
s64 timestamp_ns;
+ struct tegra_vrr *vrr = ext->dc->out->vrr;
if (flip_win->handle[TEGRA_DC_Y] == NULL) {
win->flags = 0;
if (timestamp_ns) {
/* XXX: Should timestamping be overridden by "no_vsync"
* flag */
- if (ext->dc->out->vrr->enable) {
+ if (vrr && vrr->enable) {
struct timespec tm;
s64 now_ns = 0;
s32 sleep_us = 0;