mirror-linux/drivers/gpu/drm/amd/display/modules/freesync
Alex Deucher 1754cea176 drm/amd/display: fix 64 bit divide in freesync code
Use div_u64() rather than a a 64 bit divide.

Fixes: 3fe5739db4 ("drm/amd/display: Add flip interval workaround")
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Angus Wang <Angus.Wang@amd.com>
Cc: Anthony Koo <Anthony.Koo@amd.com>
Cc: Aric Cyr <Aric.Cyr@amd.com>
Cc: Nathan Chancellor <nathan@kernel.org>
2022-04-11 13:50:35 -04:00
..
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00
freesync.c drm/amd/display: fix 64 bit divide in freesync code 2022-04-11 13:50:35 -04:00