Re: [PATCH] drm/amd/display: fix 64 bit divide in freesync code

2022-04-08 Thread Nathan Chancellor
On Fri, Apr 08, 2022 at 05:04:55PM -0400, Alex Deucher wrote: > Use div_u64() rather than a a 64 bit divide. > > Fixes: 3fe5739db48843 ("drm/amd/display: Add flip interval workaround") > Reported-by: kernel test robot > Signed-off-by: Alex Deucher > Cc: Angus Wang > Cc: Anthony Koo > Cc: Aric

[PATCH] drm/amd/display: fix 64 bit divide in freesync code

2022-04-08 Thread Alex Deucher
Use div_u64() rather than a a 64 bit divide. Fixes: 3fe5739db48843 ("drm/amd/display: Add flip interval workaround") Reported-by: kernel test robot Signed-off-by: Alex Deucher Cc: Angus Wang Cc: Anthony Koo Cc: Aric Cyr Cc: Nathan Chancellor ---

Re: [PATCH] drm/amd/display: fix 64 bit divide in freesync code

2022-04-08 Thread Alex Deucher
On Thu, Apr 7, 2022 at 7:31 PM Nathan Chancellor wrote: > > On Thu, Apr 07, 2022 at 03:50:29PM -0400, Alex Deucher wrote: > > Use do_div() rather than a a 64 bit divide. > > > > Fixes: 3fe5739db48843 ("drm/amd/display: Add flip interval workaround") > > Reported-by: kernel test robot > >

Re: [PATCH] drm/amd/display: fix 64 bit divide in freesync code

2022-04-07 Thread Nathan Chancellor
On Thu, Apr 07, 2022 at 03:50:29PM -0400, Alex Deucher wrote: > Use do_div() rather than a a 64 bit divide. > > Fixes: 3fe5739db48843 ("drm/amd/display: Add flip interval workaround") > Reported-by: kernel test robot > Signed-off-by: Alex Deucher > Cc: Angus Wang > Cc: Anthony Koo > Cc: Aric

[PATCH] drm/amd/display: fix 64 bit divide in freesync code

2022-04-07 Thread Alex Deucher
Use do_div() rather than a a 64 bit divide. Fixes: 3fe5739db48843 ("drm/amd/display: Add flip interval workaround") Reported-by: kernel test robot Signed-off-by: Alex Deucher Cc: Angus Wang Cc: Anthony Koo Cc: Aric Cyr --- drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 5 - 1