projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8aeaee
)
vlv: it might be wise if we initialised the flag value...
author
Alan Cox
<alan@linux.intel.com>
Wed, 25 Jul 2012 12:49:18 +0000
(13:49 +0100)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 26 Jul 2012 07:47:31 +0000
(09:47 +0200)
Otherwise our initial behaviour is "randomly save a bogus PLL
choice" as far as I can see.
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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 e9e476eca89f4b60e88b8ec8e3643b8cc0cb8817..3d969ab2ae3ffd08c1ab14060d55c0a096be8166 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-869,6
+869,7
@@
intel_vlv_find_best_pll(const intel_limit_t *limit, struct drm_crtc *crtc,
unsigned long bestppm, ppm, absppm;
int dotclk, flag;
+ flag = 0;
dotclk = target * 1000;
bestppm = 1000000;
ppm = absppm = 0;