mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-22 17:33:01 +00:00
drm/i915: kill warning in intel_find_pll_g4x_dp
Initialize clock.vco to silence gcc. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
629598da93
commit
fe798b9718
@ -943,6 +943,7 @@ intel_find_pll_g4x_dp(const intel_limit_t *limit, struct drm_crtc *crtc,
|
||||
clock.m = 5 * (clock.m1 + 2) + (clock.m2 + 2);
|
||||
clock.p = (clock.p1 * clock.p2);
|
||||
clock.dot = 96000 * clock.m / (clock.n + 2) / clock.p;
|
||||
clock.vco = 0;
|
||||
memcpy(best_clock, &clock, sizeof(intel_clock_t));
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user