[PATCH 0/2] Fix for 64 bit divisions on 32-bit platform.

Bindu Ramamurthy bindu.r at amd.com
Mon Mar 1 17:06:29 UTC 2021


This patch set fixes 64 bit divisions for the display
synchronization code that caused a regression on 32-bit platform.

Vladimir Stempen (2):
  SWDEV-266369 - dc: Fix 64 bit divisions on 32 bit platforms by using
    div64 API
  SWDEV-266369 - dc: Fix 64 bit modulus operation using div64 API

 .../gpu/drm/amd/display/dc/core/dc_resource.c | 14 +++++++-------
 .../drm/amd/display/dc/dce/dce_clock_source.c |  6 +++---
 .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 19 ++++++++++++-------
 .../gpu/drm/amd/display/dc/dcn20/dcn20_optc.c | 13 +++++++------
 4 files changed, 29 insertions(+), 23 deletions(-)

-- 
2.25.1



More information about the amd-gfx mailing list