projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629598d
)
drm/i915: kill warning in intel_find_pll_g4x_dp
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 19 Oct 2009 22:55:28 +0000
(07:55 +0900)
committer
Eric Anholt
<eric@anholt.net>
Fri, 23 Oct 2009 18:31:25 +0000
(11:31 -0700)
Initialize clock.vco to silence gcc.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 7eed3db5451d5f363a527ad7c55aed2f951bb18e..3ba6546b7c7f6875938ac8bc9b7345a4ca3ac200 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-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;
}