Commit 45a2d58e authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher

drm/amd/display: Fix 64-bit division in hwss_edp_power_control

Signed-off-by: default avatarHarry Wentland <harry.wentland@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5422a28f
...@@ -857,7 +857,7 @@ void hwss_edp_power_control( ...@@ -857,7 +857,7 @@ void hwss_edp_power_control(
dm_get_elapse_time_in_ns( dm_get_elapse_time_in_ns(
ctx, ctx,
current_ts, 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; unsigned long long wait_time_ms = 0;
/* max 500ms from LCDVDD off to on */ /* max 500ms from LCDVDD off to on */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment