linux-5.6-rc1/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8411:45: error: Division by zero.
David Binderman
dcb314 at hotmail.com
Mon Feb 10 13:26:27 UTC 2020
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
More information about the amd-gfx
mailing list