Hello there,
Source code is
unsigned int vsync_rate_hz = 0; struct dc_static_screen_params params = {0}; /* Calculate number of static frames before generating interrupt to * enter PSR. */ unsigned int frame_time_microsec = 1000000 / vsync_rate_hz;
Suggest code rework.
Regards
David Binderman