]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix 64 bit modulus operation using div64 API
authorVladimir Stempen <vladimir.stempen@amd.com>
Fri, 26 Feb 2021 00:09:46 +0000 (19:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Mar 2021 19:08:05 +0000 (14:08 -0500)
commite0733dad0afb4cf2b97103edbc672e1bf79a5c73
treea6d8f36565beb30bbe03c6c06e73ebc9356e3429
parent0f47ab0a44a57597597bb326fd7703322b674e2e
drm/amd/display: Fix 64 bit modulus operation using div64 API

[why]
Synchronization displays with different timings feature uses
reminder of 64 bit division (modulus operator) , which is not
supported by 32 bit platforms

[how]
Use div64 API for 64 bit modulus

Signed-off-by: Vladimir Stempen <vladimir.stempen@amd.com>
Tested-by: Bindu Ramamurthy<bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c