diff options
author | Alan Cox <alan@linux.intel.com> | 2012-07-25 13:49:18 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-26 09:47:31 +0200 |
commit | af447bd358acd92a8e96b61a3bf7a55c61a642f4 (patch) | |
tree | 1a1aef815a5502fccff4f45f138c62df171f090a /drivers/gpu/drm | |
parent | e8aeaee7b012f1cdb382765d17307445385aa87c (diff) | |
download | linux-af447bd358acd92a8e96b61a3bf7a55c61a642f4.tar.gz linux-af447bd358acd92a8e96b61a3bf7a55c61a642f4.tar.bz2 linux-af447bd358acd92a8e96b61a3bf7a55c61a642f4.zip |
vlv: it might be wise if we initialised the flag value...
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>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index e9e476eca89f..3d969ab2ae3f 100644 --- 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; |