mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 22:37:01 +07:00
drm/amd/display: Fix 64-bit division in hwss_edp_power_control
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
5422a28fe8
commit
45a2d58e84
@ -857,7 +857,7 @@ void hwss_edp_power_control(
|
||||
dm_get_elapse_time_in_ns(
|
||||
ctx,
|
||||
current_ts,
|
||||
link->link_trace.time_stamp.edp_poweroff) / 1000000;
|
||||
div64_u64(link->link_trace.time_stamp.edp_poweroff, 1000000));
|
||||
unsigned long long wait_time_ms = 0;
|
||||
|
||||
/* max 500ms from LCDVDD off to on */
|
||||
|
Loading…
Reference in New Issue
Block a user